Author Topic: I'm no good with scripting... - Flag Help [SOLVED]  (Read 1109 times)

Quattro

  • Guest
I'm no good with scripting... - Flag Help [SOLVED]
« on: August 04, 2016, 01:35:20 am »
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:
Code: [Select]
ifflag(1,script1)
else(script2)
How in VVVVVV scripting?
« Last Edit: August 04, 2016, 03:34:57 am by Quattro »

QwertymanO07

  • Captain
  • *****
  • Posts: 389
  • Rad scientist exraordinare
    • View Profile
Re: I'm no good with scripting... - Flag Help [NOT RESOLVED]
« Reply #1 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.

Lollipop

  • Captain
  • *****
  • Posts: 422
  • fornite funnys
    • View Profile
Re: I'm no good with scripting... - Flag Help [NOT RESOLVED]
« Reply #2 on: August 04, 2016, 01:48:21 am »
You can use an always true statement, like iftrinkets(0,script2).

shit ninja'd  :(

Quattro

  • Guest
Re: I'm no good with scripting... - Flag Help [NOT RESOLVED]
« Reply #3 on: August 04, 2016, 03:34:37 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!