movedOverToken: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
{{MacroFunction
{{MacroFunction
|name=movedOverToken
|name=movedOverToken
Line 5: Line 4:
|description=
|description=


|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
|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


<source lang="mtmacro" line>
<source lang="mtmacro" line>

Revision as of 12:26, 8 September 2010

movedOverToken() Function

Introduced in version 1.3.b74

Usage

This function can be used to check if token is in an array of cell coordinates like the one received from getLastPath or the onTokenMove-events macro.args

movedOverToken(token, lastPath)