Jump to content
Sign in to follow this  
Urbansausage

How Do I Not Be The Leader Of The Driver In An AI Controlled Vehicle?

Recommended Posts

So, What happens is that if i spawn myself in cargo inside a humvee in a convoy, the driver automatically becomes one of my own squad members, but, i dont want that to happen, i just want to be a standalone guy, without any squad, how do i fix this?

Share this post


Link to post
Share on other sites

How do you mean "spawn myself"?

Are you just making a guy in the Humvee playable from in the mission editor.... or are you actually using code to spawn your player?

EDIT: If you are not spawning the unit from a script... which I suspect is the case.... just put this in the units (players) Initialization.

newwestgroup = createGroup side this; [this] join newwestgroup;

It creates a new group called newwestgroup and then the unit joins that new group.

Edited by twirly

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  

×