I'm trying to achieve the following result: PC opens the door, and this triggers a scene. How do I go about that? Thanks in advance for any suggestions.
ScriptName BalokTriggerScene01 extends ObjectReferenceimport gameScene Property MySceneTrigger AutoQuest Property MyQuest Auto auto STATE waitingForPlayer EVENT onTriggerEnter(objectReference triggerRef) If triggerRef == getPlayer() as actor Debug.Notification("Player entered the trigger") MyScene.Start() MyQuest.setObjectiveCompleted(50) Debug.Notification("SCENE STARTED") gotoState("hasBeenTriggered") Disable() EndIf EndEvent EndSTATESTATE hasBeenTriggered ; this is an empty state.endSTATE