This thread is a few years old. Some details may refer to an earlier version of Visionaire Studio. Current tutorials
I'd like to execute the same action on a scene object, I've linked 3 conditions and each time the action is different. My command is "execute command" on object but the problem is that the character is performing all the actions at once.Use a value instead.I mean, the first time he peforms the command I change the 1 condition to true, but I've put the code for the "new condition" with an if in the same execute command, so is basically checking 3 conditions in a row...How to perform the 1 action, then stop and only the second time I click to check for the second condition?
if value "example" equals 3
add some action parts here
endif
if value "example" equals 2
add some action parts here
endif
if value "example" equals 1
add some action parts here
endif
Notice the reverse order of values. If you do it the other way then you need to include a quit current action action part just before each of the endif action parts.
Notice the reverse order of values. If you do it the other way then you need to include a quit current action action part just before each of the endif action parts."quit action" is an action part in VS. The "code" he posted was pseudocode representing only action parts, not lua.What is this "quit"? I have learned that "quit" works in loops only (which I can confirm).
@AFRLme: I need to log in on dropbox to download your puzzle example. But I haven't an account, And I don't want one.Anyone should be able to download it. There is usually 2 download options with dropbox. Add to your dropbox account or download directly. I'm pretty sure you don't need an account or need to be logged in.
This thread is closed because nobody has replied for more than a year. Feel free to ask your question in a new thread.
New threadDeponia, The Whispered World and more than 160 other games were made with Visionaire Studio. The free version covers up to 25 scenes. For more scenes there is Visionaire Studio PRO from €75, and to sell your game the Indie Bundle for €99.
Through December 1: all licenses 30% off, for example the Indie Bundle for €69.30 instead of €99. Applied automatically at checkout.