Login / Registrieren
DE EN FR ES IT CZ
Zurück Nach oben

Help with dialogs

  • #20, by afrlme 14 years ago Zitieren
    http://alternatingfrequencies.com/vs/demo_door_int_senti_edi...

    I cut out your door & created a open version too ... created an interface but it only works for this atm you could add infinite amount of animation images to the text thing on interface & say which is shown via a condition or value - same goes for what the yes/no buttons do.

    to center your interface you have to use absolute positioning & work out half width of resolution - half width of interface image same for height.

  • #21, by Dogghy 14 years ago Zitieren
    Infinite thanks for you AFRLme and Nigec!

    Hope this thread can help another novice like me wink

  • #22, by afrlme 14 years ago Zitieren
    De naaaa man smile

    I've not exactly been using this very long but the visual side to me is easy to comprehend + it's similar in a way to how vb&.net worked design wise wink

    just wish there was something simpler than LUA script - & it's bloody baffling code format - for custom scripting

  • #23, by Glenfx 14 years ago Zitieren
    I don't know if this can help you some.

    You can try creating a Condition, then in the action create something like this:

    -If condition is false (conditions are false by default) -display text (your first message) -do whatever other actions you want to perform -change condition to true (so the condition skips the dialogue the second time) -else (since the first if was false, this will call the oposite so it works as an if condition is true) -display second text -start dialog (you need to create the dialog in the character's screen) -do whatever other actions you want to perform after that -end if

  • #24, by Dogghy 14 years ago Zitieren
    Right! Thanks for the tip wink
  • #25, by afrlme 14 years ago Zitieren
    Multiple Interface Conditions Example Demo for Dogghy smile http://alternatingfrequencies.com/vs/mic_4_dogghy.rar

    I've recreated the scene. added another object to click on. (window) added various conditions & if else statements which determine what question is shown on the interface & what clicking on the "yes" button will do. added a if interface is visible condition to the object mouse over & left click to disable them & the cursors from changing when the interface is visible. added some proper cc sound fx I found on soundcloud. I added a couple of called by other action to the character for the reseting of the scene & interface objects.

    clicking yes on door will play door open sound, open the door, reset & hide the interface. clicking yes on window will play glass smash sound, break right window pane, reset & hide the interface. clicking no resets & hides interface.

    "Esc" quits demo. "R" resets the scene providing the interface is not on.

  • #26, by Dogghy 14 years ago Zitieren
    Efficient as always! Thank you!
  • #27, by afrlme 14 years ago Zitieren
    get the one in the template section of the forum I included interface popup for reset & quit also smile

    https://www.visionaire-studio.net/forum/thread/multiple-cond...

  • #28, by afrlme 14 years ago Zitieren
    & your welcome smile