Jump to content
kraxous

How to activate AI upon trigger activation?

Recommended Posts

So I have a killhouse that I have multiple hostiles and hostages garrisoned within. The problem I'm currently facing is, when I reach the door to enter the building as part of CQB training, the AI spot me through an open window... Is it possible to turn the AI off until they enter the trigger area?

 

Or is there a better method?

 

Cheers!

Share this post


Link to post
Share on other sites

Sure there are commands you can set to ai making them "brainless" until you reach the trigger.

Share this post


Link to post
Share on other sites

Sure there are commands you can set to ai making them "brainless" until you reach the trigger.

How would this be done, exactly?

Share this post


Link to post
Share on other sites

https://community.bistudio.com/wiki/setFriend

https://community.bistudio.com/wiki/disableAI

 

Both viable options, set them in the editor, change them with the trigger.

 

I tried using 

this disableAi "TARGET"; this disableAi "AUTOTARGET"

In the unit's init, but it still continues to initialize the combat?

 

EDIT: Actually, nevermind. They don't engage me now with the above line. All is good! I'm not too bothered about them shooting back. :)

Edited by kraxous

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

×