function CastDetectSpell() Shooter.MoveTo(targ as ObjectReference, 0.000000, 0.000000, 200.000, false) Detector.MoveTo(targ as ObjectReference, 0.000000, 0.000000, 1000.00, false) utility.Wait(0.250000) _WetShelterDetectSpell.Cast(Shooter, Detector) self.RegisterForSingleUpdate(8.00000) endFunction