Scriptname z13SETelePCBegin ScriptEffectStartPlaceAtMe Z13SETeleMarkerMoveTo Z13SETeleMarkerZ13SETeleMarker.DisableEnd
ScriptName Z13SEDismissScriptshort Returnedfloat SkyPosfloat GroundPosref selfref horsetestbegin ScriptEffectStart set horsetest to GetSelf if ( GetActorValue Health >= 5 ) ;checks to see if target is alive Set GroundPos to GetPos Z + 20 Set SkyPos to GetPos Z + 20000 SetPos Z, SkyPos AddSpell Z13DismissController endifEnd ScriptEffectStartBegin GameMode If GetPos Z <= GroundPos set Returned to 1 endifEnd GameModeBegin ScriptEffectFinishif Returned == 0 SetPos Z, GroundPos RemoveSpell Z13DismissController elseif Returned == 1 Return RemoveSpell Z13DismissController endifendifEnd