Well it would appear I found a pretty reliable workaround that doesn't require an OnHeartbeat event and so far is pretty stable - I wrote a custom AI that drops the same four lines of code into each of the custom AI required events:
OnPerception
OnSpellCastAt
OnPhysicalAttacked
OnDisturbed
Since its essentially a moving lightbulb, the creature won't fight back so I don't need to worry about anything fancy...
Modifié par Pstemarie, 27 novembre 2011 - 10:05 .