From 6884717b583e2f3c0687ae941248a5264688ad16 Mon Sep 17 00:00:00 2001 From: Eero af Heurlin Date: Sun, 24 Jul 2016 11:35:03 +0300 Subject: [PATCH] more debug logs --- helotraining.Altis/AASquad.sqf | 1 + helotraining.Altis/createSquad.sqf | 1 + helotraining.Altis/enemySquad.sqf | 1 + helotraining.Altis/initPlayer.sqf | 2 +- helotraining.Altis/spawnSmoke.sqf | 1 + helotraining.Altis/vehicleInit.sqf | 1 + 6 files changed, 6 insertions(+), 1 deletion(-) diff --git a/helotraining.Altis/AASquad.sqf b/helotraining.Altis/AASquad.sqf index df8f527..66f99d3 100644 --- a/helotraining.Altis/AASquad.sqf +++ b/helotraining.Altis/AASquad.sqf @@ -1,3 +1,4 @@ +diag_log format["AASquad called, _this: %1", _this]; _centrePos = _this select 0; _playerno = _this select 1; diff --git a/helotraining.Altis/createSquad.sqf b/helotraining.Altis/createSquad.sqf index 4590227..85b89f6 100644 --- a/helotraining.Altis/createSquad.sqf +++ b/helotraining.Altis/createSquad.sqf @@ -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 {}; diff --git a/helotraining.Altis/enemySquad.sqf b/helotraining.Altis/enemySquad.sqf index ab1fa46..4c17bd5 100644 --- a/helotraining.Altis/enemySquad.sqf +++ b/helotraining.Altis/enemySquad.sqf @@ -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)]; diff --git a/helotraining.Altis/initPlayer.sqf b/helotraining.Altis/initPlayer.sqf index 53234b9..121a0d6 100644 --- a/helotraining.Altis/initPlayer.sqf +++ b/helotraining.Altis/initPlayer.sqf @@ -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]; diff --git a/helotraining.Altis/spawnSmoke.sqf b/helotraining.Altis/spawnSmoke.sqf index cb7e42e..8a8970c 100644 --- a/helotraining.Altis/spawnSmoke.sqf +++ b/helotraining.Altis/spawnSmoke.sqf @@ -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 { diff --git a/helotraining.Altis/vehicleInit.sqf b/helotraining.Altis/vehicleInit.sqf index fce5d13..19ab588 100644 --- a/helotraining.Altis/vehicleInit.sqf +++ b/helotraining.Altis/vehicleInit.sqf @@ -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]];