1
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

26 lines
1001 B

ScriptName GA_00E_DuesterSSiegelSCPT Extends ObjectReference
;-- Variables ---------------------------------------
;-- Properties --------------------------------------
ObjectReference Property DisabledSigil Auto
ObjectReference Property HangBridge Auto
Int Property StaticState Auto
Message Property message01 Auto
MiscObject Property sigilStone Auto
;-- Functions ---------------------------------------
; Skipped compiler generated GetState
; Skipped compiler generated GotoState
Event onActivate(ObjectReference akActionRef)
If StaticState == 0 && Game.GetPlayer().GetItemCount(sigilStone as Form) == 0 && DisabledSigil.isDisabled()
message01.Show(0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)
ElseIf StaticState == 0 && Game.GetPlayer().GetItemCount(sigilStone as Form) != 0 && DisabledSigil.isDisabled()
Game.GetPlayer().RemoveItem(sigilStone as Form, 1, False, None)
DisabledSigil.Enable(False)
HangBridge.PlayGamebryoAnimation("Backward", False, 0.0)
EndIf
EndEvent