Jump to content
Sign in to follow this  
lifetap

Moving passenger positions

Recommended Posts

I'd like to find away to move a unit's position (seat) within a vehicle.

The only way I can find is to use a combination of moveOut and moveIn to move a passenger. e.g.

moveOut player; 
player moveInDriver _vehicle;

The problem with this approach is it fires the GetOut event handler, which is something I need to avoid.

So does anyone know of either a better way to move locations within a vehicle, or alternatively a way to exit a vehicle without triggering a "getout" event?

Thanks

Share this post


Link to post
Share on other sites

Just so I'm understanding,

You want it so that all players in a vehicle are capable of switching spots or seats with each other, withOUT having to get out of the vehicle correct?

have you tried setting their compartments to all be the same?

EXP

driverCompartments="Compartment1";

cargoCompartments[]={"Compartment1"};

Share this post


Link to post
Share on other sites
Just so I'm understanding,

You want it so that all players in a vehicle are capable of switching spots or seats with each other, withOUT having to get out of the vehicle correct?

Yes, correct.

They are all currently in the same compartment.

What I'm looking for is a script command to force the unit to switch positions.

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  

×