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.
Hope this thread can help another novice like me ![]()
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 ![]()
just wish there was something simpler than LUA script - & it's bloody baffling code format - for custom scripting
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
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.
https://www.visionaire-studio.net/forum/thread/multiple-cond...