getGMNotes: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
m (Conversion script moved page GetGMNotes to getGMNotes: Converting page titles to lowercase)
m (Text replacement - "source>" to "syntaxhighlight>")
Line 10: Line 10:
getGMNotes(id)
getGMNotes(id)
getGMNotes(id, mapname)
getGMNotes(id, mapname)
</source>
</syntaxhighlight>


'''Parameter'''
'''Parameter'''

Revision as of 17:06, 14 March 2023

getGMNotes() Function

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

Introduced in version 1.3b48
Returns the GM notes from the Current Token.

Usage

<source lang="mtmacro" line> getGMNotes() getGMNotes(id) getGMNotes(id, mapname) </syntaxhighlight>

Parameter

  • id - The token id of the token to get the GM notes from.

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

  • mapname - The name of the map to find the token. Defaults to the current map.


Version Changes

  • 1.5.4 - Added id and mapname parameter options.


}}