Scripting:TWTriggerAIEcologySlain
Jump to navigation
Jump to search
TWTriggerAIEcologySlain should be used on AIs spawned by a TWTrapAIEcology that vanish when slain (like elementals). This script informs the AIEcology that the AI has been removed as soon as it is slain, and it does not attempt any despawn behaviour on its own.
If you do not want to remove the corpses of slain AIs, you can use this instead of TWTriggerAIEcologyDespawn, but note that you will be using up object IDs if you do so.
To remove AIs that leave a corpse when they are slain, use TWTriggerAIEcologyDespawn instead.
Design Note Parameters
This script does not support any additional arguments in Editor -> Design Note
beyond those given in TWBaseScript and TWBaseTrigger documentation.
See also
- TWTrapAIEcology - Manage automatic spawning of AIs
- TWTriggerAIEcologyDespawn - Remove spawned AIs and update the AIEcology
- TWTriggerAIEcologyFireshadow - Fire Shadow-like behaviour support
|
|