enderalse/scripts/source/_00e_mq11c_ryneusdogscript.psc

26 lines
768 B
Plaintext
Raw Normal View History

Scriptname _00E_MQ11c_RyneusDogScript extends ReferenceAlias
Event OnActivate(ObjectReference akActionRef)
if (MQ11c.GetStage() == 120)
;Game.GetPlayer().AddItem(_00E_MQ11c_RyneusTeddy, 1)
Actor PlayerREF = Game.GetPlayer()
MQ11cTeddyContainer.RemoveAllItems(PlayerREF, false, true)
If PlayerREF.GetItemCount(_00E_MQ11c_RyneusTeddy) < 1
PlayerREF.AddItem(_00E_MQ11c_RyneusTeddy, 1)
EndIf
_00E_NPCDogIdleWhineM.Play(Self.GetReference())
MQ11c.SetStage(125)
Self.GetActorReference().SetOutfit(_00E_MQ11c_RyneusDogOutfit)
EndIf
EndEvent
Quest Property MQ11c Auto
MiscObject Property _00E_MQ11c_RyneusTeddy Auto
Sound Property _00E_NPCDogIdleWhineM Auto
Outfit Property _00E_MQ11c_RyneusDogOutfit Auto
ObjectReference Property MQ11cTeddyContainer Auto