Jump to content

Photo

Need help with Scripting for a horse summon mod

skyrim script creation kit

  • Please log in to reply
1 reply to this topic

#1
Natsuu08

Natsuu08

    Stranger

  • Members
  • Pip
  • 1 posts

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


#2
ReDragon2013

ReDragon2013

    Old hand

  • Members
  • PipPipPip
  • 511 posts

Dawnguard.esm "Summon Arvak"

    [SPEL:0200C600]  DLC01SummonSoulHorse
    [MGEF:0200C601]  DLC01SummonSoulHorseEffect
    [NPC_:0200BDD0]  DLC01SoulCairnHorseSummon "Arvak"

(1) create a new GlobalVariable like "natsuSummonState" to decide summon or unsummon

      or

(2) create a new quest like "natsuSummonQuest" for example, assign a script to this quest and use this quest script as storage by using a property of type int

 

your effect script could look as follow: natGhostHorsesSummonScript

Spoiler

 

Do not forget to fill every property within Creatin Kit and make sure horse1Ref is different to horse2Ref! You have to create the clones by duplicating the original arvak NPC.


Edited by ReDragon2013, 22 May 2020 - 09:00 PM.






Also tagged with one or more of these keywords: skyrim, script, creation kit

Page loaded in: 0.994 seconds