enderalse/source/scripts/_00e_mq11a_sc25_blackstonescript.psc

33 lines
777 B
Plaintext
Raw Normal View History

Scriptname _00E_MQ11a_SC25_BlackStoneScript extends ObjectReference
Event OnActivate(ObjectReference akActionRef)
if akActionRef == PlayerREF && (MQ11a.GetStage() == 210)
int iButton = _00E_MQ11a_SC25_BlackStoneMessage.Show()
if iButton == 1
Return
Elseif iButton == 0
int iButton02 = _00E_MQ11a_SC25_BlackStoneMessage02.Show()
if iButton02 == 0
MQ11a_TruthTold.SetValueInt(1)
ElseIf iButton02 == 1
MQ11a_TruthTold.SetValueInt(0)
EndIf
Self.Disable()
MQ11a.SetStage(215)
EndIf
EndIf
EndEvent
Message Property _00E_MQ11a_SC25_BlackStoneMessage Auto
Message Property _00E_MQ11a_SC25_BlackStoneMessage02 Auto
Quest Property MQ11a Auto
GlobalVariable Property MQ11a_TruthTold Auto
Actor Property PlayerREF Auto