Help with dialogs

  • #20, by afrlmeWednesday, 17. October 2012, 23:29 12 years ago
    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.

    Imperator

    7278 Posts


  • #21, by DogghyWednesday, 17. October 2012, 23:35 12 years ago
    Infinite thanks for you AFRLme and Nigec!

    Hope this thread can help another novice like me wink

    Newbie

    0 Posts

  • #22, by afrlmeWednesday, 17. October 2012, 23:43 12 years ago
    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

    Imperator

    7278 Posts

  • #23, by GlenfxThursday, 18. October 2012, 10:56 12 years ago
    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

    Newbie

    72 Posts

  • #24, by DogghyThursday, 18. October 2012, 11:09 12 years ago
    Right! Thanks for the tip wink

    Newbie

    0 Posts

  • #25, by afrlmeThursday, 18. October 2012, 17:45 12 years ago
    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.

    Imperator

    7278 Posts

  • #26, by DogghyThursday, 18. October 2012, 21:47 12 years ago
    Efficient as always! Thank you!

    Newbie

    0 Posts

  • #27, by afrlmeThursday, 18. October 2012, 21:49 12 years ago
    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...

    Imperator

    7278 Posts

  • #28, by afrlmeThursday, 18. October 2012, 21:49 12 years ago
    & your welcome smile

    Imperator

    7278 Posts