07-22-2012, 08:58 AM
(07-22-2012, 08:36 AM)Blue Phoenix Wrote: So, just to be clear, it is not possible to "enhance" Rudolf's AI, for example, right? One only has the chance of either modifying Template's AI or write everything from scratch.
if i understand it correctly, you can. you just have to script what you have in ego().
i.e.
int ego() {
if ( the target is in a favourable position ) {
.... // do something
.... return 1;
}
return 0;
}
}
it's only if you define the id() function that you overwrite the basic ai entirely.
Azriel~