arma3_missions/helotraining_mp.Altis/spawnCrewAction.sqf
Eero af Heurlin dfa0e68e7b
Merge mijas improvements and my fixes (#8)
* mija changes (#7)

mijas changes

* separate players into their own groups

* fix some leftover typos and sort actions by priority

Co-authored-by: mija <i.see.living.people@gmail.com>
2021-06-24 17:16:32 +03:00

9 lines
300 B
Plaintext

//diag_log format["spawnCrewAction called, _this: %1", _this];
params ["_vehicle", "_caller"];
_group = group _caller;
_newGroup = createVehicleCrew _vehicle;
_vehicle deleteVehicleCrew driver _vehicle;
units _newGroup joinSilent _group;
{_x setSkill 1} forEach units _group;
deleteGroup _newGroup;