enderalse/scripts/source/_00e_enabletharielscript.psc

14 lines
293 B
Plaintext

Scriptname _00E_EnableTharielScript extends ObjectReference
Actor Property PlayerREF Auto
ObjectReference Property Thariel Auto
int doOnce
Event OnTriggerEnter(ObjectReference akActionRef)
If akActionRef == PlayerREF
if doOnce == 0
Thariel.Enable()
DoOnce = 1
EndIf
endif
EndEvent