What's new in The Falklands War: 1982 What's new in The Star and the Crescent
|
How to Add an AI Time Limit ConditionThe basic method for building a Faction AI script is to first, plan paths for enemy hierarchies, then plan Missions for enemy hierarchies, and then, finally, create a Faction AI that triggers units to begin movement and execute Missions as triggers are met. Now that we have planned all of the enemy paths, and we have planned and canceled the Missions for all our hierarchies, we are building a Faction AI script. At its heart, a Faction AI script is just a list of triggers, or conditions that must be met, and orders to be executed upon those triggers. An 'AI Time Limit' condition is the most commonly used trigger in a Faction AI script. It simply tells Armored Task Force to do something at a given elapsed time. Add an AI Time Limit Condition:'AI Time Limit' conditions can and will be used anywhere conditions can be inserted. They will be used for 'Abort Conditions' in the top level AI Order dialog of the Faction AI, in the 'Phase End Conditions' block of the AI Order Phase dialog, and in the 'Order Execution Conditions' of an AI Phase Order.
|