Script Experiments! +Flagging Tutorial!

Started by knuxfanwin8, December 17, 2015, 06:34:38 PM

Previous topic - Next topic

knuxfanwin8

:red: Hello!
I'm going to add some flags into my levels. Now, I'm experimenting.
Download link:
ASAP
================
Flagging tutorial
First, make a terminal. Name the script as you want, for example flagGet.
In flagGet script write:
(Here put quote from Example) flag (1,on)
(end of quote)
You can use any number, for example 1.
Now, create next terminal. It will activate a command. You can name it as you want. For example, if1.
(Here put quote from Example) ifflag (1,if2)
(end of quote)
Now create next script. You can name it as you want, too. For example, if2.
Inside of if2 write code you want. Now try the level.
To turn off the flag create an terminal and inside of terminals command write flag (numer,off)
================
Fun gamestate:
gamestate (200) DESTABILISING THE DIMENSION. Deletes warps.

And write commands and gamestates you know under this post if you want.
Yes, refreshing "internal scripting" list.

Ally 🌠

Or

flag(1,on) - turns on the flag
ifflag(1,script3) - checks for flag
xd

SJMistery

The scripts related to flags are common knowledge, thanks. Look here for the REALLY disturbingly confusing part of scripting:
(please, i do not find it, where did you put the internal scripting guide again?)

Ally 🌠


allison

Quote from: SJMistery on December 18, 2015, 08:41:28 AM
The scripts related to flags are common knowledge, thanks. Look here for the REALLY disturbingly confusing part of scripting:
(please, i do not find it, where did you put the internal scripting guide again?)
http://distractionware.com/forum/index.php?topic=1089.0