1
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

37 lines
728 B

Scriptname _00E_StartSceneTrigger extends ObjectReference
{This script can be placed on any trigger to start a scene property.
}
bool Property SetStageDesired Auto
int DoOnce
Event OnTriggerEnter(ObjectReference akActionRef)
if (akActionRef == Game.GetPlayer())
if ( DoOnce == 0 )
;Debug.Notification("Scene initiated.")
QuestStart.Start()
SceneToStart.Start()
if SetStageDesired == true
QuestStart.SetStage(QuestStage)
endif
DoOnce = 1
else
;Debug.Notification("Scene failed to start.")
endif
endif
if ScenetoStart.IsPlaying()
;Debug.Notification("Scene is running.")
endif
EndEvent
Scene Property SceneToStart Auto
Quest Property QuestStart Auto
int Property QuestStage Auto