27 lines
813 B
Plaintext
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
|