I'm trying to script conditional branches checking if the variable = 1, 2 or 3, (in this case "cherries2")
and scripting a show picture for each result or 'else...'
I'm trying to sort out how to script the whole thing, because I've got like 1000 possibilities and will just be terribly long grind of clicking...
SOO! I am doing something stupid/silly, I know. I just don't know what.
I get "SyntaxError Unexpected token {"
I'm putting the following code:
in a parallel event as a script...
should there be an = sign in there like;
If ($gameVariables.cherry2(=1))
edit; nope lol no equal sign in there...
I think its definitely something with the conditional branching script or the game variables code part, var in there somewhere? - I am just not writing it properly... 🙁
edit: I don't see why '{' should be the problem 🙁 its clearly part of the conditional branch script... ?
and scripting a show picture for each result or 'else...'
I'm trying to sort out how to script the whole thing, because I've got like 1000 possibilities and will just be terribly long grind of clicking...
SOO! I am doing something stupid/silly, I know. I just don't know what.
I get "SyntaxError Unexpected token {"
I'm putting the following code:
in a parallel event as a script...
should there be an = sign in there like;
If ($gameVariables.cherry2(=1))
edit; nope lol no equal sign in there...
I think its definitely something with the conditional branching script or the game variables code part, var in there somewhere? - I am just not writing it properly... 🙁
edit: I don't see why '{' should be the problem 🙁 its clearly part of the conditional branch script... ?