getLastPath: Difference between revisions
Jump to navigation
Jump to search
(New page: {{MacroFunction |name=getLastPath |version=1.3b74 |description= Returns a json array of the coordinates of every step in the last movement path of the impersonated token. The coordinates...) |
No edit summary |
||
Line 1: | Line 1: | ||
{{MacroFunction | {{MacroFunction | ||
|name=getLastPath | |name=getLastPath | ||
|version=1. | |version=1.3.b74 | ||
|description= | |description= | ||
Returns a json array of the coordinates of every step in the last movement path of the impersonated token. The coordinates are json objects with the keys {code|x} and {code|y}. | Returns a json array of the coordinates of every step in the last movement path of the impersonated token. The coordinates are json objects with the keys {code|x} and {code|y}. | ||
Line 9: | Line 7: | ||
<source lang="mtmacro" line> | <source lang="mtmacro" line> | ||
[r: getLastPath()] | [r: getLastPath()] | ||
</source> | </source> | ||
}} | }} | ||
[[Category:Miscellaneous Function]] | [[Category:Miscellaneous Function]] |
Revision as of 10:41, 8 September 2010
getLastPath() Function
• Introduced in version 1.3.b74
Returns a json array of the coordinates of every step in the last movement path of the impersonated token. The coordinates are json objects with the keys {code
Usage
[r: getLastPath()]