1
0
mirror of https://github.com/acemod/ACE3.git synced 2024-08-30 18:23:18 +00:00
ACE3/addons/logistics_wirecutter/XEH_postInit.sqf
BaerMitUmlaut 61e8ae3c8b
Wirecutter - Replace fences with destroyed models when cut ()
* 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;
};