Jump to content
Sign in to follow this  
werzproduction

move AI with trigger

Recommended Posts

hello i would like know, how to move AI with a trigger, 

 

exemple: there is one AI front of my vehicle and i would like this AI move when the trigger is activated.

 

and other little question , how to make for they AI open a barrier ? or the barrier open all alone.

Share this post


Link to post
Share on other sites

Example:

 

  1. Place the unit you want to move
  2. Place a trigger
  3. Create a waypoint for the unit right in front of it
  4. Create a second waypoint where you want the unit to go when the trigger is activated
  5. Syncronise (F6 in the editor) the FIRST waypoint with the trigger

Share this post


Link to post
Share on other sites

You could also work with a variable.

 

In the trigger's on activation field you put

 

waypointCondition = true;

 

and in the first waypoint's condition field you put

 

waypointCondition

 

About the bargate:

 

Share this post


Link to post
Share on other sites

 

Your trigger had no condition therefore making it impossible to activate, but you have it working now.

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  

×