loot position debug changes

This commit is contained in:
vbawol
2013-03-26 08:22:35 -05:00
parent 11fe13ee89
commit acf9dae2c7
3 changed files with 6 additions and 5 deletions

View File

@@ -53,6 +53,10 @@ if (_canPickLight and !dayz_hasLight and !_isPZombie) then {
if(DZEdebug) then {
hint str(typeOf cursorTarget);
if (s_player_debuglootpos < 0) then {
s_player_debuglootpos = player addAction ["Save to arma2.rpt", "Make_lootPos.sqf", ["save"], 99, false, true, "",""];
};
};
if(_isPZombie) then {

View File

@@ -228,6 +228,7 @@ dayz_resetSelfActions = {
s_player_fillfuel = -1;
s_player_grabflare = -1;
s_player_callzombies = -1;
s_player_debuglootpos = -1;
s_player_pzombiesattack = -1;
s_player_pzombiesfeed = -1;
s_player_removeflare = -1;

View File

@@ -1,8 +1,4 @@
if (isServer) then {
waitUntil{dayz_preloadFinished};
};
_id = [] execFSM "\z\addons\dayz_code\system\player_monitor.fsm";
if(DZEdebug) then {
_void = [] execVM "\z\addons\dayz_code\actions\debug\Make_lootPos.sqf
};
_id = [] execFSM "\z\addons\dayz_code\system\player_monitor.fsm";