BIS fnc spawnVehicle – Talk
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) No edit summary |
Lou Montana (talk | contribs) m (Text replacement - "<code>" to "<code style="display: block">") |
||
Line 1: | Line 1: | ||
<code>_uav = ([getPos player, 0, "B_UAV_02_F", group player] call BIS_fnc_spawnVehicle) select 0; | <code style="display: block">_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; |
Latest revision as of 11:52, 11 January 2023
_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