movedOverToken: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
{{stub|lastPath-format specified, define/explain return value, examples}}
{{MacroFunction
{{MacroFunction
|name=movedOverToken
|name=movedOverToken
|version=1.3.b74
|version=1.3.b74
|description=
|description=
 
Is used to check if {{code|token}} is in an array of cell coordinates like the one received from {{func|getLastPath}} or the [[onTokenMove]] event's {{code|macro.args}}.
|usage=This function can be used to check if {{code|token}} is in an array of cell coordinates like the one received from {{func|getLastPath}} or the onTokenMove-events macro.args
 
 
<!-- The 'nbsp' is needed to close the DIV -->
<source lang="mtmacro" line>
<source lang="mtmacro" line>
movedOverToken(token, lastPath)
movedOverToken(token, lastPath)
</source>
</source>
{{stub|lastPath-format specified, define/explain return value, examples}}
}}
}}
[[Category:Miscellaneous Function]]
[[Category:Miscellaneous Function]]

Revision as of 04:35, 7 March 2019

 This article is a stub, you can help the RPTools Wiki project by contributing content to expand this article.
 This article needs: lastPath-format specified, define/explain return value, examples

movedOverToken() Function

Introduced in version 1.3.b74
Is used to check if token is in an array of cell coordinates like the one received from getLastPath() or the onTokenMove event's macro.args.

 

movedOverToken(token, lastPath)

Usage

{{{usage}}}