more debug logs

This commit is contained in:
Eero af Heurlin 2016-07-24 11:35:03 +03:00
parent 2c2b39ca72
commit 6884717b58
6 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,4 @@
diag_log format["AASquad called, _this: %1", _this];
_centrePos = _this select 0;
_playerno = _this select 1;

View File

@ -2,6 +2,7 @@
_spawnPos = _this select 0;
_target = _this select 1;
_playerno = _this select 2;
diag_log format["createSquad called, _this: %1", _this];
if (ferryingArray select _playerno) exitWith {};

View File

@ -1,5 +1,6 @@
_centrePos = _this select 0;
_playerno = _this select 1;
diag_log format["enemySquad called, _this: %1", _this];
_centreX = _centrePos select 0;
_centrePos set [0, _centreX + 100 + (floor random 300)];

View File

@ -4,7 +4,7 @@ _target = _this select 0;
_playerno = _this select 1;
playersArray set [_playerno, _target];
diag_log format["initPlayer called, _target: %1, _playerno: %2", _target, _playerno];
diag_log format["initPlayer called, _this: %1", _this];
ferryingArray set [_playerno, false];
landingCompleteArray set [_playerno, false];

View File

@ -1,6 +1,7 @@
_smokeLoc = _this select 0;
_playerno = _this select 1;
diag_log format["spawnSmoke called, _this: %1", _this];
while {!(landingCompleteArray select _playerno)} do
{

View File

@ -1,5 +1,6 @@
_vehicle = _this select 0;
_pilot = _this select 1;
diag_log format["vehicleIinit called, _this: %1", _this];
_vehicle addAction ["Repair", "repair.sqf"];
_vehicle addAction ["Respawn", "manualRespawn.sqf", [_vehicle, _pilot]];