Can groupai's auto unload?

Can groupai's auto unload?

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
b1ind
Posts: 48
Joined: 21 Apr 2005, 04:01

Can groupai's auto unload?

Post by b1ind »

Suppose I wanted a groupai to implement the function scatter. Would the groupai be able to unload itself upon completion of its task? Imho, there is no point in having it use resources beyond its useful lifetime.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

hmm I dont know however i'm guessing if the groupAI is in control of group 13 and is aware of that then it could generate the necessary commands to remove each and every unit it has udnr its control thru the callback itnerface, then the engine would unload that particular instance of the groupAI automatically.
Post Reply

Return to “Engine”