enderalse/source/scripts/_00e_nq05meadbarrelscn.psc

40 lines
919 B
Plaintext

Scriptname _00E_NQ05MeadBarrelSCN Extends ObjectReference
Event OnActivate(ObjectReference akActionRef)
if (akActionRef == Game.GetPlayer())
if (NQ05.GetCurrentStageID() == 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.SetCurrentStageID(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