Jump to content

Sign in to follow this  
MightyDusan

How to make AI start moving when trigger is activated ?

Recommended Posts

So I want to make helicopter start moving (take off and land on specific location) after the objective is completed. Objective is to kill someone and after he is dead I want helicopter to start moving to that location, how can I make this happen :D ? 

Thanks for any help in advance. 

Share this post


Link to post
Share on other sites

Add waipoint to heli group when trigger activated.

Share this post


Link to post
Share on other sites
  On 5/4/2016 at 9:45 PM, davidoss said:

Add waipoint to heli group when trigger activated.

Sorry but didn't really understand this :(

Share this post


Link to post
Share on other sites

Place the chopper on ground and give it a waypoint. Test to make sure that it takes off, flys and lands at the correct place.

Place a trigger on the map. Set it so the trigger will fire when you're target is dead. In the unit of the trigger type. hint " ON ON ON". When the trigger fires you will see the hint on the screen and know it works correctly.

Now synch the trigger to the choppers waypoint. The chopper will not fly till the trigger fires.

Share this post


Link to post
Share on other sites
  On 5/4/2016 at 10:01 PM, Joe98 said:

Place the chopper on ground and give it a waypoint. Test to make sure that it takes off, flys and lands at the correct place.

Place a trigger on the map. Set it so the trigger will fire when you're target is dead. In the unit of the trigger type. hint " ON ON ON". When the trigger fires you will see the hint on the screen and know it works correctly.

Now synch the trigger to the choppers waypoint. The chopper will not fly till the trigger fires.

I synced trigger with first waypoint but chopper flies to it and wait for trigger and then it flies to second one... 

I have some AI units inside the chopper.

Edited by MightyDusan

Share this post


Link to post
Share on other sites

1) Put your chopper

2) Create WP "HOLD"

3) Create a trigger "ignore waypoint" and put whatever you want in "on activation" window. For example, your target is named "man1". In "activation" of your trigger, you write "!alive man1" (without the ")

4) Sync the waypoint "HOLD" to your trigger

5) Hence, when your target (named "man1") is killed, the chopper will ignore the "HOLD" waypoint and start moving to your other waypoint

  • Like 1

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  

×