mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-04-18 10:16:39 +03:00
Fix some issues with traps
Removed two unused files. Vanilla commits:42e72463a302726fb1926a7c53ebcf1fb63089959543ea057f
This commit is contained in:
@@ -12,10 +12,6 @@ _init = {
|
||||
|
||||
_arm = {
|
||||
//if (isServer) then {
|
||||
// don't work (due to proxies n stuff)
|
||||
//_trap animate ["LeftShutter", 0];
|
||||
//_trap animate ["RightShutter", 0];
|
||||
|
||||
_trigger = createTrigger ["EmptyDetector", getPosATL _trap];
|
||||
_trigger setpos getPosATL _trap;
|
||||
_trigger setTriggerArea [0.5, 0.5, 0, false];
|
||||
@@ -28,7 +24,7 @@ _arm = {
|
||||
|
||||
[_trap, _trigger] call arm_trap;
|
||||
//} else {
|
||||
_trap setVariable ["armed", true, true];
|
||||
//_trap setVariable ["armed", true, true];
|
||||
//};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user