User avatar
Hobbes
Posts: 4437
Joined: Sat Mar 11, 2006 12:18 am
Location: UK

AIActivate position

Sun Jan 31, 2010 11:34 am

Hi folks, I may have asked this before - but I'm getting old. Is there any reason why AIActivate events are placed before _ON events in AGEOD scenarios? Surely they should be after _ON events as these have to be active before AIActivate will fire?

Cheers, Chris

User avatar
Pocus
Posts: 25662
Joined: Wed Oct 19, 2005 7:37 am
Location: Lyon (France)

Mon Feb 01, 2010 9:44 am

this is because you want a minimum of one turn before having the AI triggers the option. Otherwise you can end up with the AI receiving an option during the script and using it instantly a fraction of milliseconds (the next event processed) after... that can be weird for the player.
Image


Hofstadter's Law: "It always takes longer than you expect, even when you take into account Hofstadter's law."

Return to “Modding AGE engine games”

Who is online

Users browsing this forum: No registered users and 8 guests