mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
a7d8c3eb3a
* Move SOG compat to addons/ * Set component to skip loading when SOG not present * Use skipWhenMissingDependencies for GRAD Trenches compatiblity * Tools - Add SOG dlc launch config * move trenches to sub config, handle grad with 2nd subconfig * fix `Land_vn_b_prop_fueldrum_01` UBC * use ifndef --------- Co-authored-by: PabstMirror <pabstmirror@gmail.com>
20 lines
600 B
Plaintext
20 lines
600 B
Plaintext
#include "script_component.hpp"
|
|
|
|
[QGVAR(handlePunjiTrapDamage), LINKFUNC(handlePunjiTrapDamage)] call CBA_fnc_addEventHandler;
|
|
|
|
if (isServer) then {
|
|
[QEGVAR(trenches,placed), {
|
|
params ["", "_trench"];
|
|
if (_trench isKindOf "vn_o_vc_spiderhole_01") then {
|
|
_trench enableSimulationGlobal false;
|
|
};
|
|
}] call CBA_fnc_addEventHandler;
|
|
|
|
[QEGVAR(trenches,finished), {
|
|
params ["", "_trench"];
|
|
if (_trench isKindOf "vn_o_vc_spiderhole_01") then {
|
|
_trench enableSimulationGlobal true;
|
|
};
|
|
}] call CBA_fnc_addEventHandler;
|
|
};
|