ZippyDSMlee Posted June 3, 2015 Share Posted June 3, 2015 If you did not know detect life/dead is a one shot deal it detects targets within range but dose not refresh what is detected until its completely recast. Would like a script to be made for detect life/dead magic effects, it cycles/loops the effect during a spells time frame, this way its always adding new detections, cycle it every 3-5 or so seconds. Making it work like nighteyes would be nice as I can make that into a concentration, fire and forget and toggle spell/power/voice/thing. Link to comment Share on other sites More sharing options...
lofgren Posted June 4, 2015 Share Posted June 4, 2015 (edited) I happen to have this lying around for exactly this purpose, so I'll go ahead and post it. However, I'll also say that I have since stopped using this script and switched to using a cloak spell instead. Scriptname BasicPulseSpell extends activemagiceffect actor Caster actor Target spell property SpellToPulse auto float property IntervalinSeconds = 1.0 auto Event OnEffectStart(Actor akTarget, Actor akCaster) Caster = akCaster Target = akTarget SpellToPulse.Cast(Caster, Target) RegisterForSingleUpdate(IntervalInSeconds) endEvent Event OnEffectFinish(Actor akTarget, Actor akCaster) self.UnregisterForUpdate() endEvent Event OnUpdate() SpellToPulse.Cast(Caster, Target) RegisterForSingleUpdate(IntervalInSeconds) endEvent Edited June 4, 2015 by lofgren Link to comment Share on other sites More sharing options...
Recommended Posts