mirror of
https://github.com/rambo/arma3_missions.git
synced 2024-08-30 16:52:13 +00:00
try to set the spawned crew side correctly
This commit is contained in:
parent
fabd3f689e
commit
31288f923b
@ -2,9 +2,13 @@
|
||||
private _vehicle = _this select 0;
|
||||
private _caller = _this select 1;
|
||||
private _returnValue = [];
|
||||
|
||||
_returnValue = [ _vehicle, group _caller, false, typeof _vehicle ] call BIS_fnc_spawnCrew;
|
||||
|
||||
private _group = group _caller;
|
||||
private _tmpGroup = createGroup civilian;
|
||||
_returnValue = [ _vehicle, _tmpGroup, false, typeof _vehicle] call BIS_fnc_spawnCrew;
|
||||
// a bit of twiddling to get the units to the correct side
|
||||
_returnValue joinSilent grpNull;
|
||||
_returnValue joinSilent _group;
|
||||
deleteGroup _tmpGroup;
|
||||
|
||||
//diag_log format["spawnCrewAction returning: %1", _returnValue];
|
||||
_returnValue
|
Loading…
Reference in New Issue
Block a user