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

Script:Flight

From Roll20 Wiki

Revision as of 17:40, 13 January 2015 by Brian (Talk | contribs)

Jump to: navigation, search
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

Changelog

v3.0 (2015-01-08)

  • Release