Character Vault
Any Concept / Any System
Compendium
Your System Come To Life
Roll20 for Android
Streamlined for your Tablet
Roll20 for iPad
Streamlined for your Tablet

Personal tools

Difference between revisions of "Script:Flight"

From Roll20 Wiki

Jump to: navigation, search
m (Syntax)
Line 3: Line 3:
 
|author={{user profile|235259|Brian}}
 
|author={{user profile|235259|Brian}}
 
|version=3.0
 
|version=3.0
|lastmodified=2015-01-08}}
+
|lastmodified=2015-01-08
 +
|dependencies={{api repository link|splitArgs}}}}
  
 
This scripts creates the API command <code>!fly</code>, which sets statusmarkers on the selected tokens to represent how high they are flying.
 
This scripts creates the API command <code>!fly</code>, which sets statusmarkers on the selected tokens to represent how high they are flying.

Revision as of 22:55, 9 January 2015

API ScriptAuthor: Brian
Version: 3.0
Last Modified: 2015-01-08
Code: Flight
Dependencies: splitArgs
Conflicts: None

This scripts creates the API command !fly, which sets statusmarkers on the selected tokens to represent how high they are flying.

Syntax

!fly [height]
Formally:

S

→ !fly height


height

→ ε

height

integer
Parameter Values
height Optional. Set the height of the selected token(s). If this parameter is 0, negative, or omitted, the flight value will be removed from the token(s).

Notes

Numbers with multiple digits will create multiple wing statusmarkers, one for each digit. Zero digits (for example, the tens digit of "205") will show up as a wing statusmarker with no number.

Flight Example.jpg