IMPORTANT
You will need to make an ACTOR variable called "VAR" in order for this to work.
Screenshots:
The screenshot makes it look buggy
Demo:
Script:
- Code: Select all
void selection(int R, int B, int G, int SPEED) {
//Background Color
erase(R, G, B, .64);
//Set the color of lines
setpen(255, 255, 255, 0, 1);
//Make the 4 lines
//LINE 1:
moveto(VAR, 0);
lineto(VAR, height);
//LINE 2:
moveto(VAR-16, 0);
lineto(VAR-16, height);
//LINE 3:
moveto(VAR-32, 0);
lineto(VAR-32, height);
//LINE 4:
moveto(VAR-48, 0);
lineto(VAR-48, height);
//ADD Variables
VAR+=SPEED; if (VAR>=width+48) {
VAR=0;
}
}
}
The C file inside of the zip hasent been updated from the previous version so please use this script xD :3
Usage:
selection(R, G, B, Speed);
Example:
selection(14, 28, 255, 2);
Have fun ^^