1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 |
return tutorialHandler
end
-- Intended to be overriden
end
-- Required to be overriden, returns the type of tutorial this handles
end
-- Intended to be overriden, requests that all tutorials are hidden and removed from queues
end
-- Intended to be overriden, if this tutorial has help linked to it should open the correct UI for that and return true, return false otherwise
return false
end
-- Intended to be overriden, allows for specifying how/where the tutorial should show up
end
-- Intended to be overriden, requests that the current tutorial window be hidden or shown
end
end
TUTORIAL_SUPPRESSED_BY_SCENE = 1
TUTORIAL_SUPPRESSED_BY_LOOT = 2
if reason == TUTORIAL_SUPPRESSED_BY_SCENE then
elseif reason == TUTORIAL_SUPPRESSED_BY_LOOT then
end
end
end
end
end
end
-- Can to be overriden for custom queueing behavior, occurs when a tutorial matching GetTutorialType() is requested to be displayed
else
end
end
end
-- Can to be overriden for custom behavior, occurs when a tutorial matching GetTutorialType() is requested to be removed
end
--To be overriden, when you know you want to clear a particular trigger for a specific reason unrelated to tutorial interactions
end
end
end
end
-- Can be overriden for custom behavior
end
if queuedTutorialIndex == tutorialIndex then
return true
end
end
return false
end
if queuedTutorialIndex == tutorialIndex then
return true
end
end
return false
end |