Jump to content
Sign in to follow this  
Psychology

How do i spawn soldiers in vehicles without making them in the same squad?

Recommended Posts

use BIS_fnc_spawnVehicle and spawn a full crewed vehicle then run this line on the vehicle:

{if (_x != (driver _vehiclename)) then {[_x] joinSilent grpNull}} foreach crew _vehiclename;

that will make all units exept the driver to join their own group.

now the driver will still have any wps you created for it and move to wherever, while rest of crew is in their own group, being leader of their own group.

Share this post


Link to post
Share on other sites

<soldier name> moveindriver <vehicle name>

<soldier name> moveingunner <vehicle name>

<soldier name> moveincargo <vehicle name>

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×