18 lines
687 B
Plaintext
18 lines
687 B
Plaintext
Scriptname _00E_MQ11a_SC9_GearRiddleBoxSC extends ObjectReference
|
|
|
|
Event OnTrigger(ObjectReference akActionRef)
|
|
|
|
Form actionBase = akActionRef.GetBaseObject()
|
|
if (actionBase == _00E_MQ11a_SC9_GunpowderSatchel || actionBase == _00E_ExplosiveBarrel) && (MQ11a_LeftTower.GetValueInt() == 3)
|
|
CaliaNormalDialogueAllowed.SetValueInt(0)
|
|
MQ11a_LeftTower.SetValueInt(4)
|
|
MQ11a_SC11_CollisionMarker.Disable()
|
|
EndIf
|
|
|
|
EndEvent
|
|
|
|
MiscObject Property _00E_MQ11a_SC9_GunpowderSatchel Auto
|
|
MiscObject Property _00E_ExplosiveBarrel Auto
|
|
GlobalVariable Property MQ11a_LeftTower Auto
|
|
GlobalVariable Property CaliaNormalDialogueAllowed Auto
|
|
ObjectReference Property MQ11a_SC11_CollisionMarker Auto |