enderalse/source/scripts/_00e_nq05meadbarrelscn.psc

40 lines
901 B
Plaintext
Raw Normal View History

Scriptname _00E_NQ05MeadBarrelSCN Extends ObjectReference
Event OnActivate(ObjectReference akActionRef)
if (akActionRef == Game.GetPlayer())
if (NQ05.GetStage() == 10 )
iMessage = _00E_NQ05BarrelBox.show()
if iMessage == 0
Game.DisablePlayerControls()
Self.Disable(true)
Game.GetPlayer().RemoveItem(_00E_NQ05MeadBarrel01, 1)
Game.GetPlayer().RemoveItem(_00E_Essigfass, 1)
Utility.Wait(2.0)
_00E_NQ05_MeadBarrel01EssigPlaced.EnableNoWait(true)
Utility.Wait(1.0)
NQ05.SetStage(20)
Utility.Wait(1.0)
Game.EnablePlayerControls()
EndIf
EndIf
EndIf
EndEvent
MiscObject Property _00E_NQ05MeadBarrel01 Auto
MiscObject Property _00E_Essigfass Auto
Quest Property NQ05 Auto
Message Property _00E_NQ05BarrelBox Auto
ObjectReference Property _00E_NQ05_MeadBarrel01EssigPlaced Auto
int iMessage