Afaik there is no way to build upon an existing AI.
You either have to rewrite everything based over template AI or a blank ai. Or use stock AI for that character.
Always static.
Template/Bandit ai.
Ref: https://www.lf-empire.de/forum/showthread.php?tid=7946
You either have to rewrite everything based over template AI or a blank ai. Or use stock AI for that character.
(06-11-2012, 01:42 PM)YinYin Wrote: The id() function - this replaces all the characters AI and gives you control over everything it does.
Code:
void id(){}
(06-11-2012, 01:42 PM)YinYin Wrote: The ego() function - this function will be called by the original basic AI in case you do not use an id() function.
Code:
int ego(){return 0;}
Ref: https://www.lf-empire.de/forum/showthread.php?tid=7946