User Tools

Site Tools



Game 1/G/2
Module gen.osm

When the AI begins an attack (messages StartWindup and StartAttack), then either the weapon being used, or all objects linked to the AI with ParticleAttachement will be sent TurnOn. At the end of the attack, or when the AI is slain, TurnOff is sent. TurnOff will also be sent if AbortAttack is received. This script is commonly used on human spellcasters, but will work with any AI that can fight. Since the generic TurnOn and TurnOff messages are used, it isn’t even necessary to control particle SFX with this script.

dromed/script/attackactivate.txt · Last modified: 2010/12/03 00:30 by telliamed