Walraven // Forums // Thread 1380
The dragon ai can make a dragon talk after death., athenon, 2004-01-12 18:53:25
The dragon ai can make a dragon talk after death.
even better, malap, 2004-01-17 22:36:59
If a player is holding the corpse and it decays away, the AI objects will land in their inventory and start controlling them.
Al, tell me again why we're not destructing AI objects on creature death?
Al, tell me again why we're not destructing AI objects on creature death?
AI destruction..., acius, 2004-01-18 23:43:03
The main reason not to destruct AI objects on creature death is because if the creature is revived (brought back to life), it'll suddenly be stupid. This is not really desirable.
However, if the corpse decays to nothing, thus making revival possible, the AI objects should definitely be removed.
Either we need to destruct AI objects as soon as a creature decays away, or we need to destruct on death and automagically reclone when the creature revives. Any preferences?
However, if the corpse decays to nothing, thus making revival possible, the AI objects should definitely be removed.
Either we need to destruct AI objects as soon as a creature decays away, or we need to destruct on death and automagically reclone when the creature revives. Any preferences?
Death, athenon, 2004-01-19 18:43:51
I would destruct them upon death, and have an array of strings designated "ai_modules", with which revive sees and reclones the ai modules.
Hmm, this would work, acius, 2004-01-19 21:27:26
Could do it with an env_var even. Add it to the on_die event in living.c, maybe.
another idea, gpfault, 2006-02-07 14:22:39
have the ai modules autodestruct when their container changes