mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
12 lines
244 B
Plaintext
12 lines
244 B
Plaintext
|
// by commy2
|
||
|
|
||
|
private "_unit";
|
||
|
|
||
|
_unit = _this select 0;
|
||
|
|
||
|
// reset status on mission start
|
||
|
if (_unit getVariable ["AGM_isCaptive", false]) then {
|
||
|
_unit setVariable ["AGM_isCaptive", false];
|
||
|
[_unit, true] call AGM_Captives_fnc_setCaptive;
|
||
|
};
|