mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Global Event for "CaptiveStatusChange"
This commit is contained in:
parent
6e24d2868c
commit
16b1244b0a
@ -26,7 +26,7 @@ if (isServer) then {
|
||||
["SetHandcuffed", {_this call FUNC(setHandcuffed)}] call EFUNC(common,addEventHandler);
|
||||
["SetSurrendered", {_this call FUNC(setSurrendered)}] call EFUNC(common,addEventHandler);
|
||||
|
||||
//Medical Integration Events???
|
||||
//Medical Integration Events
|
||||
["medical_onUnconscious", {_this call ACE_Captives_fnc_handleOnUnconscious}] call EFUNC(common,addEventHandler);
|
||||
|
||||
if (!hasInterface) exitWith {};
|
||||
|
@ -109,3 +109,6 @@ if (_state) then {
|
||||
showHUD true;
|
||||
};
|
||||
};
|
||||
|
||||
//Global Event after changes:
|
||||
["CaptiveStatusChange", [_unit, _state, "SetHandcuffed"]] call EFUNC(common,globalEvent);
|
||||
|
@ -101,3 +101,6 @@ if (_state) then {
|
||||
}, 0, [_unit, (ACE_time + 20)]] call CBA_fnc_addPerFrameHandler;
|
||||
};
|
||||
};
|
||||
|
||||
//Global Event after changes:
|
||||
["CaptiveStatusChange", [_unit, _state, "SetSurrendered"]] call EFUNC(common,globalEvent);
|
||||
|
Loading…
Reference in New Issue
Block a user