Changeset 11433 for code/branches/Dialogue_FS17
- Timestamp:
- May 18, 2017, 5:27:15 PM (8 years ago)
- Location:
- code/branches/Dialogue_FS17
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/Dialogue_FS17/data/gui/scripts/Dialogue.lua
r11432 r11433 51 51 52 52 function P.onLoad() 53 53 54 orxout("loading") 54 55 P.wrapper = nil … … 60 61 function P.onShow() 61 62 orxout("showing") 63 orxonox.CommandExecutor:execute("setTimeFactor 0") 62 64 P.createInventory() 63 65 P.showing = true 66 64 67 end 65 68 66 69 function P.onHide() 70 orxonox.CommandExecutor:execute("setTimeFactor 1") 67 71 P.showing = false 68 72 P.cleanup(true) … … 87 91 88 92 function P.createInventory() 93 89 94 local pickupManager = orxonox.DialogueManager:getInstance() 90 95 -
code/branches/Dialogue_FS17/data/levels/events.oxw
r11432 r11433 77 77 </NextQuestion> 78 78 79 <DistanceTrigger name="test1" position="100,300,0" target="Pawn" distance=25 stayActive="true" /> 80 <Backlight position="100,300,0" visible=true frequency=0.6 amplitude=3 material="Flares/lensflare" colour="1,1,1"/> 81 82 <NextQuestion question="Wazzp bud?" a1="yes" a2="no" > 83 <possibleQuestions> 84 <NextQuestion question="Do you like fish" a1="yep let me continue" a2="no actually not" /> 85 <NextQuestion question="Whats your favourite pastime?" a1="Got a dentist's appointment" a2="this sucks" > 86 <possibleQuestions> 87 <NextQuestion question="Whatever?" a1="yep" a2="leave me alone godammit" /> 88 <NextQuestion question="Turtles then?" a1="..." a2="Im going now okay" /> 89 </possibleQuestions> 90 </NextQuestion> 91 </possibleQuestions> 92 <events> 93 <execute> 94 <EventListener event="test1" /> 95 </execute> 96 </events> 97 </NextQuestion> 98 99 79 100 <!-- red --> 80 101 <!-- -
code/branches/Dialogue_FS17/src/modules/dialogue/NextQuestion.cc
r11432 r11433 67 67 68 68 69 69 70 70 71 71 orxout() << "bTriggered is " << bTriggered << endl;
Note: See TracChangeset
for help on using the changeset viewer.