mirror of
https://github.com/rambo/arma3_missions.git
synced 2024-08-30 16:52:13 +00:00
more debug logs
This commit is contained in:
parent
2c2b39ca72
commit
6884717b58
@ -1,3 +1,4 @@
|
|||||||
|
diag_log format["AASquad called, _this: %1", _this];
|
||||||
|
|
||||||
_centrePos = _this select 0;
|
_centrePos = _this select 0;
|
||||||
_playerno = _this select 1;
|
_playerno = _this select 1;
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
_spawnPos = _this select 0;
|
_spawnPos = _this select 0;
|
||||||
_target = _this select 1;
|
_target = _this select 1;
|
||||||
_playerno = _this select 2;
|
_playerno = _this select 2;
|
||||||
|
diag_log format["createSquad called, _this: %1", _this];
|
||||||
|
|
||||||
if (ferryingArray select _playerno) exitWith {};
|
if (ferryingArray select _playerno) exitWith {};
|
||||||
|
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
_centrePos = _this select 0;
|
_centrePos = _this select 0;
|
||||||
_playerno = _this select 1;
|
_playerno = _this select 1;
|
||||||
|
diag_log format["enemySquad called, _this: %1", _this];
|
||||||
|
|
||||||
_centreX = _centrePos select 0;
|
_centreX = _centrePos select 0;
|
||||||
_centrePos set [0, _centreX + 100 + (floor random 300)];
|
_centrePos set [0, _centreX + 100 + (floor random 300)];
|
||||||
|
@ -4,7 +4,7 @@ _target = _this select 0;
|
|||||||
_playerno = _this select 1;
|
_playerno = _this select 1;
|
||||||
playersArray set [_playerno, _target];
|
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];
|
ferryingArray set [_playerno, false];
|
||||||
landingCompleteArray set [_playerno, false];
|
landingCompleteArray set [_playerno, false];
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
|
|
||||||
_smokeLoc = _this select 0;
|
_smokeLoc = _this select 0;
|
||||||
_playerno = _this select 1;
|
_playerno = _this select 1;
|
||||||
|
diag_log format["spawnSmoke called, _this: %1", _this];
|
||||||
|
|
||||||
while {!(landingCompleteArray select _playerno)} do
|
while {!(landingCompleteArray select _playerno)} do
|
||||||
{
|
{
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
_vehicle = _this select 0;
|
_vehicle = _this select 0;
|
||||||
_pilot = _this select 1;
|
_pilot = _this select 1;
|
||||||
|
diag_log format["vehicleIinit called, _this: %1", _this];
|
||||||
|
|
||||||
_vehicle addAction ["Repair", "repair.sqf"];
|
_vehicle addAction ["Repair", "repair.sqf"];
|
||||||
_vehicle addAction ["Respawn", "manualRespawn.sqf", [_vehicle, _pilot]];
|
_vehicle addAction ["Respawn", "manualRespawn.sqf", [_vehicle, _pilot]];
|
||||||
|
Loading…
Reference in New Issue
Block a user