Don't hideObject on debug floor

e8e5d24e80 (commitcomment-19060242)
This commit is contained in:
ebaydayz
2016-09-16 17:17:02 -04:00
parent bcc16a0135
commit b9507b2eb4

View File

@@ -8,11 +8,10 @@ private ["_debug","_floor"];
_debug = getMarkerPos "respawn_west"; _debug = getMarkerPos "respawn_west";
if (surfaceIsWater _debug) then { if (surfaceIsWater _debug) then {
_debug set [2,2]; _debug set [2,0.1];
_floor = "MetalFloor_DZ" createVehicleLocal [0,0,0]; _floor = "MetalFloor_DZ" createVehicleLocal [0,0,0];
_floor setPosASL _debug; _floor setPosASL _debug;
_floor allowDamage false; _floor allowDamage false;
_floor enableSimulation false; _floor enableSimulation false;
_floor setVariable ["",true,false]; // stops global setVariable by sched_townGenerator, checked in player_spawnCheck for loot spawn _floor setVariable ["",true,false]; // stops global setVariable by sched_townGenerator, checked in player_spawnCheck for loot spawn
_floor hideObject true;
}; };