getLabel: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
m (token label link fixed)
m (Text replacement - "source>" to "syntaxhighlight>")
 
(3 intermediate revisions by 2 users not shown)
Line 7: Line 7:


|usage=
|usage=
<source lang="mtmacro" line>
<syntaxhighlight lang="mtmacro" line>
getLabel()
getLabel()
</source>
</syntaxhighlight>
<source lang="mtmacro" line>
<syntaxhighlight lang="mtmacro" line>
getLabel(id)
getLabel(id)
</source>
</syntaxhighlight>
'''Parameter'''
'''Parameter'''
{{param|id|The token {{code|id}} of the token that has its [[Introduction_to_Mapping#Changing_a_Token.27s_Name.2C_GM_Name.2C_and_Label|Token Label]] returned, defaults to the [[Current Token]]. {{TrustedParameter}} }}
{{param|id|The token {{code|id}} of the token that has its [[Introduction_to_Mapping#Changing_a_Token.27s_Name.2C_GM_Name.2C_and_Label|Token Label]] returned, defaults to the [[Current Token]]. {{TrustedParameter}} }}

Latest revision as of 18:38, 14 March 2023

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

getLabel() Function

Introduced in version 1.3b48
Returns the Token Label for a specific Token.

Usage

getLabel()
getLabel(id)

Parameter


See Also

Version Changes

  • 1.3b51 - Added id parameter option.