Jump to content
Sign in to follow this  
erore

get in vehicle

Recommended Posts

What I want is this: have three soldiers and make them get in into a jeep. The jeep has one wp on top of itself - load. And another one in front of it - move.

The soldiers have two wp - one on top of themselves (move) which is synced to a trigger. The other is on top of the jeep - get in. But when the soldiers get to the jeep, they stay outside, they do not get in. But if I sync soldiers' get in wp with jeep's load wp, they get in fine.

The thing is, that I do not want to have it synced. The jeep's load wp is synced to another trigger (time) and what I want is, if the soldiers do not make it until certain time, the jeep goes bye bye. Another thing is when the wps are synced, the jeep then moves wierdly.

Thanks for help.

Share this post


Link to post
Share on other sites

Thanks, but this just immediatelly moves them into the vehicle (no get in = no animation), I want them to run to the car and get in it.

Share this post


Link to post
Share on other sites

Try

[unitname] allowgetin true

unitname assignasdriver vehiclename

Klavan

Share this post


Link to post
Share on other sites

I reckon a switch trigger would probably be your best bet, in this case. I haven't tested, but it sounds logical. Sync up the "get in" and "load" WPs, and then have a trigger covering the AO with "West Present" and "Once" with the condition "daytime > desired time", and then sync the trigger with the "move" waypoint that you want your jeep to continue to.

Oops. I meant the waypoint just prior to the desired "move" WP.

Oh, and forgot the obvious. Set the trigger to type "Switch".

One last thing that occured to me as I was testing this out with a radio trigger. Depending on what you're shooting for, you may want to put another condition in the trigger "guy distance jeep > distance" in order to prevent the switch trigger from skipping the load waypoint even if the player is literally within a stone's throw from the jeep.

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  

×