arma3_missions/helotraining_mp.Altis/vehicleInit.sqf
Eero af Heurlin e52f108fa1 fix the call
2016-07-31 19:14:42 +03:00

8 lines
445 B
Plaintext

//diag_log format["vehicleIinit called, _this: %1", _this];
_vehicle = _this select 0;
_vehicle remoteExec ["removeAllActions", 0, "rmall" + (_vehicle call BIS_fnc_netId)];
[_vehicle, ["Repair", { [_this select 0] spawn xenoRepair; }]] remoteExec ["addAction", 0, "addrepair" + (_vehicle call BIS_fnc_netId)];
[_vehicle, ["Spawn crew", { _this spawn spawnCrewAction; }]] remoteExec ["addAction", 0, "addcrew" + (_vehicle call BIS_fnc_netId)];