Files
DayZ-Epoch/SQF/dayz_code/traps/functions/trigger.sqf
ebayShopper e38f47375c Fix some issues with traps
Removed two unused files.

Vanilla commits:

42e72463a3

02726fb192

6a7c53ebcf

1fb6308995

9543ea057f
2017-03-20 15:53:35 -04:00

8 lines
183 B
Plaintext

_trap = _this select 0;
if (getNumber (configFile >> "CfgVehicles" >> typeOf _trap >> "singleUse") > 0) then {
[_trap,true] call remove_trap;
} else {
[_trap] call disarm_trap;
};