Jump to content
Sign in to follow this  
cammo35

How do I get AI to spawn in certain combat mode then change mode by trigger?

Recommended Posts

Hi all, I need some help with editing a mission I am creating. I have searched everywhere and I just cant find what I am looking for. Probably because it is in two parts.

What I want to do is have an area which the enemy AI are in. I want them all to start the mission in combat mode "never fire", so even if they do see Blufor they wont fire at them.

Then I want to have a trigger that when Blufor enters the area it changes all the enemy to engage.

Can you do this? And will the trigger overwrite the AI's state?

Thanks in advance.

Cam

Share this post


Link to post
Share on other sites

You may use the SYNCHRONIZE function to attach a waypoint with the desired behavior changes to a trigger that detects BLUFOR PRESENT. The AI will wait until the blufor are in the area before proceeding on the waypoint.

Share this post


Link to post
Share on other sites
You may use the SYNCHRONIZE function to attach a waypoint with the desired behavior changes to a trigger that detects BLUFOR PRESENT. The AI will wait until the blufor are in the area before proceeding on the waypoint.

Thanks for the quick response. I can do it that way for the ground units and that seems to work ok, just not sure if that will work with the patrol script i am using. But I also have some units standing on the roof of the buildings, and we all know what the AI are like on the roof, the love walking off it when following a waypoint. So is there anything I can write in the initialization field along with "disable move" for that unit that will start them in "never fire" mode and then switch to "engage" once the trigger is activated?

Cheers.

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  

×