Jump to content
Sign in to follow this  
zorilya

Understanding the AI?

Recommended Posts

I am having a problem understanding what the AI is doing when it comes into contact.

I have set up a script that makes a unit look around and I would like this to keep working on units when they are alerted (rifles up and scaning). However, it seems like the loop i have set up is interupted or just plain overriden by the stock 'scan horizon' type motion when a unit hears an enemy shot.

thoughts anyone?

Share this post


Link to post
Share on other sites

I know only, that for some events considered as "danger" special FSM is activated for each unit (what explains CPU-related lags during major battles). Do not know, if is possible to avoid that from script level, but perhaps from unit's config level there is some method for that (I saw once fsmDanger config entry, where probably can be defined path to custom FSM or left with empty string - not sure though)?

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  

×