hello i am making a mod that add 2 summon horse to the game but i need some help. I can summon the horse without a problem but i am having a issue to make a unsummon script and there is another issue where i cant summon them in solstheim and soul cairn. the other problem that i have is that i tried to make a unsummon to work like that When the horse is already summon if i tried to cast the spell to summon him again he will be unsummon/dismiss.
Scriptname 2GhostHorsesSummon extends activemagiceffect
ObjectReference Property HorseRef Auto
WorldSpace property Tamriel Auto
Sound Property SummonFX Auto
Event OnEffectStart(Actor akTarget, Actor akCaster)
if Game.GetPlayer().GetWorldSpace() == Tamriel
HorseRef.MoveTo(akCaster)
SummonSFX.play(akcaster)
Dispel()
return
HorseRef.MoveTo(akCaster)
SummonFX.play(akcaster)
else
Debug.Messagebox("You Can't summon here")
endif
EndEvent