mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
21 lines
318 B
Plaintext
21 lines
318 B
Plaintext
/*
|
|
* Author: PabstMirror
|
|
*
|
|
*
|
|
* Arguments:
|
|
*
|
|
* Return Value:
|
|
*
|
|
* Example:
|
|
*
|
|
* Public: No
|
|
*/
|
|
#include "script_component.hpp"
|
|
|
|
PARAMS_2(_mortarVeh,_unit);
|
|
|
|
private "_currentSetting";
|
|
|
|
_currentSetting = _mortarVeh getVariable [QGVAR(useMils), true];
|
|
_mortarVeh setVariable [QGVAR(useMils), (!_currentSetting)];
|