Difference between revisions of "Script:Flight"
From Roll20 Wiki
m (→Syntax) |
|||
Line 9: | Line 9: | ||
=== Syntax === | === Syntax === | ||
− | {{syntaxbox top|formal=true}} | + | {{syntaxbox top|formal=true|Flight}} |
{{API command|fly}} {{API parameter|name=height|optional=true}} | {{API command|fly}} {{API parameter|name=height|optional=true}} | ||
{{Formal API command| | {{Formal API command| |
Revision as of 22:43, 8 January 2015
API ScriptAuthor: Brian
Version: 3.0
Last Modified: 2015-01-08
Code: Flight
Dependencies: None
Conflicts: None
Version: 3.0
Last Modified: 2015-01-08
Code: Flight
Dependencies: None
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
→ !flyheight
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.