arma3_missions/helotraining.Altis/playerspawn.sqf

17 lines
550 B
Plaintext
Raw Normal View History

2016-07-24 09:34:55 +00:00
diag_log format["playerspawn called, _this: %1", _this];
2016-07-24 10:39:43 +00:00
_target = _this select 0;
2016-07-24 09:34:55 +00:00
_playerno = _this select 1;
2016-07-24 10:39:43 +00:00
playersArray set [_playerno, _target];
2016-07-24 09:34:55 +00:00
ferryingArray set [_playerno, false];
landingCompleteArray set [_playerno, false];
2016-07-24 11:10:23 +00:00
2016-07-24 09:34:55 +00:00
null = [(playersArray select _playerno), lzList, [], _playerno] execVM "createObj.sqf";
2016-07-24 11:10:23 +00:00
2016-07-24 09:34:55 +00:00
(playersArray select _playerno) addItem "SatchelCharge_Remote_Mag";
(playersArray select _playerno) addweapon "NVGoggles";
2016-07-24 11:10:23 +00:00
publicVariable "playersArray";
publicVariable "ferryingArray";
publicVariable "landingCompleteArray";