Author Topic: Script commands index and hints  (Read 25024 times)

Bruce Michez

  • Professor
  • ****
  • Posts: 175
  • Weird Shadow Machine, maker of [\], [II] and [X].
    • View Profile
Re: Script commands index and tips
« Reply #60 on: June 17, 2017, 09:30:43 PM »
I tried using a command where :viridian: said something one time. I used this command.
Quote
ifflag(1,speechb)
end()

and "speechb" was
Quote
reply(1)
Yet another dimension to be explored.
sad
reply(1)
*sigh*
reply(1)
And more spikes!
flag(1,off)


When I run this script  :viridian: does nothing.
How do I fix this?

You're better off doing it the other way round:

Code: [Select]
ifflag(1,donothing)
iftrinkets(0,speechb)

and in script "speechb":
Code: [Select]
flag(1,on).
Script "donothing" should of course be empty.

-Kiwi Alexia ♡

  • Captain
  • *****
  • Posts: 1315
  • Hiii!~ <3
    • View Profile
    • Invision
Re: Script commands index and hints
« Reply #61 on: June 18, 2017, 02:31:52 PM »
I usually do

ifflag(1,blank)
flag(1,on)
iftrinkets(0,speechb)

also, in this case blank doesnt exist, or in yours, donothing doesnt have to exist

Xdroid19

  • Crewmate
  • *
  • Posts: 14
  • I am a gumball in the jaws of death
    • View Profile
Re: Script commands index and hints
« Reply #62 on: December 19, 2017, 02:59:43 PM »
Do you have a separate script where flag 1 turns on? For that script to run, you'd need a separate script with
Quote
flag(1,on)
in it for the script to load.
If i put a script where flag 1 turned on i might run over them both a second time and end up doing the same thing again (and i have already tried that) but thanks.
« Last Edit: December 19, 2017, 03:09:19 PM by Xdroid19 »

Xdroid19

  • Crewmate
  • *
  • Posts: 14
  • I am a gumball in the jaws of death
    • View Profile
Re: Script commands index and hints
« Reply #63 on: December 19, 2017, 03:15:07 PM »
I tried using a command where :viridian: said something one time. I used this command.
Quote
ifflag(1,speechb)
end()

and "speechb" was
Quote
reply(1)
Yet another dimension to be explored.
sad
reply(1)
*sigh*
reply(1)
And more spikes!
flag(1,off)


When I run this script  :viridian: does nothing.
How do I fix this?

You're better off doing it the other way round:

Code: [Select]
ifflag(1,donothing)
iftrinkets(0,speechb)

and in script "speechb":
Code: [Select]
flag(1,on).
Script "donothing" should of course be empty.
I usually do

ifflag(1,blank)
flag(1,on)
iftrinkets(0,speechb)

also, in this case blank doesnt exist, or in yours, donothing doesnt have to exist
Thank you both so much but now i have another problem
Code: [Select]
ifcrewmates(4,grav_lines)
and grav_lines was
Code: [Select]
destroy(gravitylines)

-Kiwi Alexia ♡

  • Captain
  • *****
  • Posts: 1315
  • Hiii!~ <3
    • View Profile
    • Invision
Re: Script commands index and hints
« Reply #64 on: December 19, 2017, 03:25:20 PM »
ifcrewmates doesnt exist

Xdroid19

  • Crewmate
  • *
  • Posts: 14
  • I am a gumball in the jaws of death
    • View Profile
Re: Script commands index and hints
« Reply #65 on: December 20, 2017, 07:41:26 AM »
then what's the command in 333333?

-Kiwi Alexia ♡

  • Captain
  • *****
  • Posts: 1315
  • Hiii!~ <3
    • View Profile
    • Invision
Re: Script commands index and hints
« Reply #66 on: December 20, 2017, 12:00:17 PM »
they probably put a script box infront of every crewmate, which raises a flag or something

Xdroid19

  • Crewmate
  • *
  • Posts: 14
  • I am a gumball in the jaws of death
    • View Profile
Re: Script commands index and hints
« Reply #67 on: December 21, 2017, 05:47:02 AM »
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOHHHHH

-Kiwi Alexia ♡

  • Captain
  • *****
  • Posts: 1315
  • Hiii!~ <3
    • View Profile
    • Invision
Re: Script commands index and hints
« Reply #68 on: December 21, 2017, 11:28:16 AM »
same

Xdroid19

  • Crewmate
  • *
  • Posts: 14
  • I am a gumball in the jaws of death
    • View Profile
Re: Script commands index and hints
« Reply #69 on: December 23, 2017, 08:45:25 AM »
I had to use 16 scripts to do that
 :P

MJKhoi

  • Crewmate
  • *
  • Posts: 4
  • Do not read this
    • View Profile
Re: Script commands index and hints
« Reply #70 on: February 24, 2018, 01:46:20 PM »
music(N)
Changes the music ingame to track N.
Usage:
N - a number between 0 and 11, which means the following:
0 - Silence (no music)
1 - Pushing onwards
2 - Positive force
3 - Potential for anything
4 - Passion for exploring
5 - Presenting VVVVVV
6 - Predestined fate
7 - Popular potpurri
8 - Pipe dream
9 - Pressure cooker
10 - Paced energy
11 - Piercing the sky
Example: music(4)
Where's ecrof evitisoP?

Dav999

  • Global Moderator
  • Captain
  • *****
  • Posts: 2155
    • View Profile
    • The Open Level Project
Re: Script commands index and hints
« Reply #71 on: February 24, 2018, 03:07:19 PM »
It wasn't made available in the shorter list of songs for music(N), but you can trick VVVVVV by using it with 9a.

That way you can also play Path Complete (0a), Pause (5a), Plenary (7a).

Info Teddy

  • Captain
  • *****
  • Posts: 229
    • View Profile
Re: Script commands index and hints
« Reply #72 on: June 03, 2018, 07:33:17 PM »
fiq why did you change it from "tips" to "hints"

Xandog01

  • Doctor
  • ***
  • Posts: 72
  • This is my Personal text.
    • View Profile
Re: Script commands index and hints
« Reply #73 on: July 09, 2018, 11:11:48 AM »
Flags don't work for me.  :'( What am I doing wrong?

-Kiwi Alexia ♡

  • Captain
  • *****
  • Posts: 1315
  • Hiii!~ <3
    • View Profile
    • Invision
Re: Script commands index and hints
« Reply #74 on: July 09, 2018, 04:29:22 PM »
youre doing it wrong
and we cant help if you dont show us what you did