Jump to content
Sign in to follow this  
Leving

Trigger Waypoint relationship

Recommended Posts

Hi, I have recently become accustomed to using triggers, however, Im stumped when it comes to using triggers with relation to waypoints.

For example, if I want to make a vehicle move after a certain time, how would I do it?

I have tried adding a timeout onto the vehicle move waypoint but this does not seem to work.

Another example would be, making an enemy move to an area after the death of a friendly unit. For instance, the player blows up an enemy tank, and the AI responds by sending troops into that area.

For this, I tried using the condition '!alive enemy1' on the movement waypoint, but this would not work. (enemy1 being the tank)

Anyone any ideas?

Thanks,

Leving.

Edited by Leving

Share this post


Link to post
Share on other sites

Delays do work in waypoints to delay a move for 20 secs all timers need to be set to 20.

To use a trigger to delay a waypoint set all timers to 20 and in the cond type true and then use the sync option and drag the blue line to the waypoint.

you can use the !alive enemy1 as long as you name the tank the same and place it in the condition box of the waypoint, it can also be used instead ot the true command in the trigger.

Share this post


Link to post
Share on other sites

All the timers were set to the same time - in your example twenty secs.

Still it won't work, the car just drives off.

I also tested the suggestions with regard to the trigger - which seemed logical, but they would not work either.

Is there any addition information that could help?

Thanks,

Leving.

Share this post


Link to post
Share on other sites

Are you placing the first waypoint directly over the vehicle?

If not it will always move to the first waypoint

Share this post


Link to post
Share on other sites

Yeah, I worked it out by accident. I noticed that when you add in a second way point, the time delay works.

I initially assumed the first waypoint could be set to a delay. Lucky guess I suppose.

Your post now makes senses to me.

Thanks for the help,

Leving.

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  

×