27 lines
518 B
Plaintext
27 lines
518 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.SetCurrentStageID(10)
|
|
|
|
DoOnce = -1
|
|
endif
|
|
endif
|
|
|
|
EndEvent |