I'm no good with scripting... - Flag Help [SOLVED]

Started by Quattro, August 04, 2016, 01:35:20 AM

Previous topic - Next topic

Quattro

Okay, so we have that. I made the terminal turning on the flag, I made the event happening when the flag is on, but I need a second event to happen when the flag is off. So, since I don't think Terry put the else command in the script editor, I haven't got any idea on how to make this work.
In programming terms it could be:
ifflag(1,script1)
else(script2)
How in VVVVVV scripting?

QwertymanO07

If you need it to go to another script, you can use an always true statement, like iftrinkets(0,script2).  Otherwise, the rest of the script below that plays if the ifflag() check is false.

Lollipop


Quattro

Quote from: QwertymanO07 on August 04, 2016, 01:47:21 AM
If you need it to go to another script, you can use an always true statement, like iftrinkets(0,script2).  Otherwise, the rest of the script below that plays if the ifflag() check is false.
Thanks, gonna try it!