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.