Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 11, 2017, 4:15:10 PM (7 years ago)
Author:
rrogge
Message:

Funktion der Buttons noch fehlerhaft

Location:
code/branches/Dialogue_FS17/data
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/Dialogue_FS17/data/gui/scripts/Dialogue.lua

    r11415 r11417  
    139139
    140140function P.a2Button_clicked(e)
    141     orxonox.CommandExecutor:execute("OrxonoxOverlay toggleVisibility Dialogue")
     141    orxonox.DialogueManager:getInstance():a2clicked()
    142142end
    143143
  • code/branches/Dialogue_FS17/data/levels/events.oxw

    r11413 r11417  
    5959    <DistanceTrigger name="test" position="0,0,0" target="Pawn" distance=25 stayActive="true" />
    6060    <Backlight position="0,0,0" visible=true frequency=0.6 amplitude=3 material="Flares/lensflare" colour="1,0,1"/>
     61   
    6162    <NextQuestion  question="Continue?" a1="yes" a2="no" >
    62       <!-- <possibleQuestions>
     63     <possibleQuestions>
    6364        <NextQuestion  question="Are you sure?" a1="yep let me continue" a2="no actually not" />
    6465        <NextQuestion  question="Why?" a1="Got a dentist's appointment" a2="this sucks" />
    65       </possibleQuestions>     -->
     66      </possibleQuestions>   
    6667      <events>
    6768        <execute>
Note: See TracChangeset for help on using the changeset viewer.