2023-09-12 18:58:10 +00:00
|
|
|
#include "..\script_component.hpp"
|
2020-10-29 16:36:59 +00:00
|
|
|
/*
|
2021-02-26 23:17:00 +00:00
|
|
|
* Author: Freddo, commy2
|
|
|
|
* When the timestamp checkbox is toggled.
|
2020-10-29 16:36:59 +00:00
|
|
|
*
|
|
|
|
* Arguments:
|
|
|
|
* 0: Checkbox <CONTROL>
|
|
|
|
* 1: Value <NUMBER>
|
|
|
|
*
|
|
|
|
* Return Value:
|
|
|
|
* None
|
|
|
|
*
|
|
|
|
* Example:
|
2021-02-26 23:17:00 +00:00
|
|
|
* [controlNull, 1] call ACE_markers_fnc_onCheckedChangedTimestamp;
|
2020-10-29 16:36:59 +00:00
|
|
|
*
|
|
|
|
* Public: No
|
|
|
|
*/
|
2021-02-26 23:17:00 +00:00
|
|
|
params ["", "_checked"];
|
2020-10-29 16:36:59 +00:00
|
|
|
|
2021-02-26 23:17:00 +00:00
|
|
|
uiNamespace setVariable [QGVAR(timestampChecked), _checked == 1]
|