mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
12 lines
304 B
Plaintext
12 lines
304 B
Plaintext
|
#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);
|