ACE3/addons/concertina_wire/XEH_postInit.sqf

12 lines
304 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
["interactMenuOpened", {
if (GVAR(deployPFH) != -1) then {
GVAR(placer) setVariable [QGVAR(wireDeployed), true];
};
}] call EFUNC(common,addEventHandler);