enderalse/source/scripts/_00e_mq01b_changetrigboxscript.psc

27 lines
509 B
Plaintext

Scriptname _00E_MQ01b_ChangeTrigBoxScript extends ObjectReference
{Dennis SCRIPT}
int DoOnce
Quest Property _00E_MQ01b auto
ObjectReference Property MQ01TempleIntactMarkerRef auto
ObjectReference Property MQ01TempleDestroyedMarkerRef auto
Event OnTriggerEnter(ObjectReference akActionRef)
if ( DoOnce == 0 )
if(akActionRef == Game.GetPlayer())
MQ01TempleIntactMarkerRef.Disable()
MQ01TempleDestroyedMarkerRef.Enable()
_00E_MQ01b.SetStage(10)
DoOnce = -1
endif
endif
EndEvent