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

Difference between revisions of "Script:Flight"

From Roll20 Wiki

Jump to: navigation, search
m
Line 2: Line 2:
 
|name=Flight
 
|name=Flight
 
|author={{user profile|235259|Brian}}, {{user profile|104025|Aaron C. Meadows}}
 
|author={{user profile|235259|Brian}}, {{user profile|104025|Aaron C. Meadows}}
|version=3.3
+
|version=3.4
|lastmodified=2016-03-09
+
|lastmodified=2016-08-15
 
|dependencies={{api repository link|splitArgs}}}}
 
|dependencies={{api repository link|splitArgs}}}}
  
Line 29: Line 29:
  
 
=== Changelog ===
 
=== Changelog ===
 +
{{changelog version|3.4|2016-08-15|* Restructured code to make adding commands (for imported scripts) easier for a non-coder.}}
 
{{changelog version|3.3|2016-03-09|* Update for one-click install}}
 
{{changelog version|3.3|2016-03-09|* Update for one-click install}}
 
{{changelog version|3.2|2015-01-24|* [bugfix] no-arg crash}}
 
{{changelog version|3.2|2015-01-24|* [bugfix] no-arg crash}}
 
{{changelog version|3.1|2015-01-22|* Fixed transcription error}}
 
{{changelog version|3.1|2015-01-22|* Fixed transcription error}}
 
{{changelog version|3.0|2015-01-08|* Release}}
 
{{changelog version|3.0|2015-01-08|* Release}}

Revision as of 06:21, 15 August 2016

API ScriptAuthor: Brian, Aaron C. Meadows
Version: 3.4
Last Modified: 2016-08-15
Code: Flight
Dependencies: splitArgs
Conflicts: None

Flight 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.4 (2016-08-15)

  • Restructured code to make adding commands (for imported scripts) easier for a non-coder.


v3.3 (2016-03-09)

  • Update for one-click install


v3.2 (2015-01-24)

  • [bugfix] no-arg crash


v3.1 (2015-01-22)

  • Fixed transcription error


v3.0 (2015-01-08)

  • Release