mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 04:37:48 +02:00
Update wentToEntry tutorial step to #9
This commit is contained in:
parent
dd4e06e5de
commit
8fe6278831
1 changed files with 4 additions and 3 deletions
|
@ -972,7 +972,7 @@ TutorialManager = function() {
|
||||||
var startedTutorialAt = 0;
|
var startedTutorialAt = 0;
|
||||||
var startedLastStepAt = 0;
|
var startedLastStepAt = 0;
|
||||||
|
|
||||||
var WENT_TO_ENTRY_STEP_NUM = 20;
|
var wentToEntryStepNum;
|
||||||
var VERSION = 1;
|
var VERSION = 1;
|
||||||
var tutorialID;
|
var tutorialID;
|
||||||
|
|
||||||
|
@ -982,7 +982,7 @@ TutorialManager = function() {
|
||||||
currentStepNum = -1;
|
currentStepNum = -1;
|
||||||
currentStep = null;
|
currentStep = null;
|
||||||
startedTutorialAt = Date.now();
|
startedTutorialAt = Date.now();
|
||||||
tutorialID = Script.generateUUID();
|
tutorialID = Script.generateUUID ? Script.generateUUID() : "";
|
||||||
STEPS = [
|
STEPS = [
|
||||||
new stepStart("start"),
|
new stepStart("start"),
|
||||||
new stepOrient("orient"),
|
new stepOrient("orient"),
|
||||||
|
@ -994,6 +994,7 @@ TutorialManager = function() {
|
||||||
new stepFinish("finish"),
|
new stepFinish("finish"),
|
||||||
new stepEnableControllers("enableControllers"),
|
new stepEnableControllers("enableControllers"),
|
||||||
];
|
];
|
||||||
|
wentToEntryStepNum = STEPS.length;
|
||||||
for (var i = 0; i < STEPS.length; ++i) {
|
for (var i = 0; i < STEPS.length; ++i) {
|
||||||
STEPS[i].cleanup();
|
STEPS[i].cleanup();
|
||||||
}
|
}
|
||||||
|
@ -1066,7 +1067,7 @@ TutorialManager = function() {
|
||||||
// after the tutorial has finished.
|
// after the tutorial has finished.
|
||||||
this.enteredEntryPortal = function() {
|
this.enteredEntryPortal = function() {
|
||||||
info("Got enteredEntryPortal, tracking");
|
info("Got enteredEntryPortal, tracking");
|
||||||
this.trackStep("wentToEntry", WENT_TO_ENTRY_STEP_NUM);
|
this.trackStep("wentToEntry", wentToEntryStepNum);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue