From 1592394d6af811b0aec006d58c65ed6ddfc68486 Mon Sep 17 00:00:00 2001 From: Ryan Huffman Date: Tue, 4 Oct 2016 11:19:44 -0700 Subject: [PATCH] Update tutorialStartZone to send start to parent immediately --- tutorial/tutorialStartZone.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tutorial/tutorialStartZone.js b/tutorial/tutorialStartZone.js index 8dec47b7ac..5cff1a4e99 100644 --- a/tutorial/tutorialStartZone.js +++ b/tutorial/tutorialStartZone.js @@ -19,13 +19,14 @@ var parentID = Entities.getEntityProperties(self.entityID, 'parentID').parentID; print("TutorialStartZone | Parent ID is: ", parentID); if (parentID) { - print("TutorialStartZone | Entered the tutorial start area"); + print("TutorialStartZone | Sending start"); Entities.callEntityMethod(parentID, 'start'); } else { print("TutorialStartZone | ERROR: No parent id found on tutorial start zone"); } } this.sendStartIntervalID = Script.setInterval(sendStart, 1500); + sendStart(); } else { print("TutorialStartZone | User tried to go to tutorial with HMD and hand controllers, sending back to /"); Window.alert("To proceed with this tutorial, please connect your VR headset and hand controllers.");