VPX Functions
Lights

Light Runs

4min

Created By: ScottyWic

This script block helps you quickly and easily do neat light runs on your tables.

Requirements

RGB Lights Function by JPSalas

All your lights in a collection called "aLights"

Bonus

To make these effects look even better have your GI and Spotlights coded to post their status as shown in lines 66-72 below in the code block. This will allow the script to turn off your gis and spots while the lights run and then flip them back on when it's complete.

Light Run Options

Category

Options

Chaos

randoms

Directions

up, down, left, right, diagdl, diagdr, diagul, diagur

Swipes

middleih, middleiv, middleoh, middleov, stripe1h, hatch1h, hatch1v, hatch2h, hatch2v, stripe1v, stripe2h, stripe2v

Spins

circlein, circleout, clockleft, clockright, screwl, screwr 

Curves

arcbld, arcblu, arcbrd, arcbru, arctld, arctlu, arctrd, arctru, fanld, fanlu,

fanrd, fanru, radarl, radarr, wiperl, wiperr

Example

lightrun red,arcbld,1

' this would run an Arc of lights from bottom to left to down (bld) in the color red - 1 time.

Syntax

lightrun color,direction,times to run

Total Code Block

VisualBasic