ACE3/addons/concertina_wire/XEH_postInit.sqf

14 lines
381 B
Plaintext
Raw Normal View History

2015-06-04 15:11:09 +00:00
#include "script_component.hpp"
GVAR(placer) = objNull;
GVAR(deployPFH) = -1;
// Deploy concertina wire if interact menu is opened
2016-05-24 13:13:11 +00:00
["ace_interactMenuOpened", {
2015-06-04 15:11:09 +00:00
if (GVAR(deployPFH) != -1) then {
GVAR(placer) setVariable [QGVAR(wireDeployed), true];
};
}] call CBA_fnc_addEventHandler;
[QGVAR(vehicleDamage), LINKFUNC(vehicleDamage)] call CBA_fnc_addEventHandler;