ACE3/addons/logistics_wirecutter/XEH_postInit.sqf
BaerMitUmlaut 61e8ae3c8b
Wirecutter - Replace fences with destroyed models when cut (#8106)
* Add more fence types for wirecutter

* Replace fences with destroyed models when cut

* Move fence destruction to server side
2021-02-23 11:03:55 -06:00

10 lines
267 B
Plaintext

#include "script_component.hpp"
if (hasInterface) then {
["ace_interactMenuOpened", {_this call FUNC(interactEH)}] call CBA_fnc_addEventHandler;
};
if (isServer) then {
[QGVAR(destroyFence), {_this call FUNC(destroyFence)}] call CBA_fnc_addEventHandler;
};