setTokenMBL: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
m (Conversion script moved page SetTokenMBL to setTokenMBL: Converting page titles to lowercase)
m (Added description; fleshed out the rest of the page)
Line 2: Line 2:
{{MacroFunction
{{MacroFunction
|name=setTokenMBL
|name=setTokenMBL
|proposed=false
|trusted=true
|version=1.12
|version=1.12
|description=
|description=
Line 7: Line 9:
|usage=
|usage=
<syntaxhighlight lang="mtmacro" line>
<syntaxhighlight lang="mtmacro" line>
setTokenMBL(jsonarray, id)
setTokenMBL(shapeArray, id)
</syntaxhighlight>
</syntaxhighlight>


'''Parameters'''
'''Parameters'''
{{param|jsonarray|}}
{{param|jsonarray|}}
{{param|id|}}
{{param|id|OPTIONAL: The token to add the BML to.  Defaults to [[Current Token]].}}


For a description of the parameters, see {{func|drawMBL}}.
|also=
[[AI Pathfinding]], {{func|drawMBL}}, {{func|eraseMBL}}, {{func|getMBL}}
}}
}}
[[Category:Token Function]]
[[Category:MBL Function]]
[[Category:MBL Function]]

Revision as of 04:27, 5 June 2023

 This article is a stub, you can help the RPTools Wiki project by contributing content to expand this article.

setTokenMBL() Function

 Note: This function can only be used in a Trusted Macro

Introduced in version 1.12

Usage

setTokenMBL(shapeArray, id)

Parameters

  • jsonarray -
  • id - OPTIONAL: The token to add the BML to. Defaults to Current Token.

For a description of the parameters, see drawMBL().


See Also