BIS fnc spawnVehicle – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "_uav = ([getPos player, 0, "B_UAV_02_F", group player] call BIS_fnc_spawnVehicle) select 0; //crew is created and immediately deleted createVehicleCrew _uav; //crew created but n...")
 
No edit summary
Line 1: Line 1:
_uav = ([getPos player, 0, "B_UAV_02_F", group player] call BIS_fnc_spawnVehicle) select 0;
<code>_uav = ([getPos player, 0, "B_UAV_02_F", group player] call BIS_fnc_spawnVehicle) select 0;
//crew is created and immediately deleted
//crew is created and immediately deleted
createVehicleCrew _uav;
createVehicleCrew _uav;
//crew created but not in the players group
//crew created but not in the players group
(crew _uav) join (group player);  
(crew _uav) join (group player);  
//now crew is in the same group
//now crew is in the same group</code>


Is this intended behaviour of the function?
Is this intended behaviour of the function?


-KK
-KK

Revision as of 09:36, 21 August 2013

_uav = ([getPos player, 0, "B_UAV_02_F", group player] call BIS_fnc_spawnVehicle) select 0; //crew is created and immediately deleted createVehicleCrew _uav; //crew created but not in the players group (crew _uav) join (group player); //now crew is in the same group

Is this intended behaviour of the function?

-KK