enderalse/scripts/source/_00e_mq11a_leversc.psc

27 lines
813 B
Plaintext

Scriptname _00E_MQ11a_LeverSC extends ObjectReference
;=====================================================================================
; EVENTS
;=====================================================================================
Event OnInit()
Self.BlockActivation(True)
EndEvent
Event OnActivate(ObjectReference akActionRef)
If !(Game.GetPlayer().IsInCombat())
Self.Activate(akActionRef, True)
Else
_00E_MQ11a_Lever_Combat_Message.Show()
EndIf
EndEvent
;=====================================================================================
; PROPERTIES
;=====================================================================================
Message Property _00E_MQ11a_Lever_Combat_Message Auto