onTokenMove: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{stub}}
This event is triggered whenever a token is moved.  
This event is triggered whenever a token is moved.  


As a "real" macro event it is automatically called whenever a token is moved. To set this up you have to create a lib:token and place a macro on it called "onTokenMove".  
As a "real" macro event it is automatically called whenever a token is moved. To set this up you have to create a lib:token and place a macro on it called {{code|"onTokenMove"}}".  


'''Note:''' in a campaign should only be *one* onTokenMove-macro.
'''Note:''' in a campaign should only be '''<u>one</u>''' onTokenMove-macro.
 
 
For more information see [[Guide to onTokenMove]]


For more information see [[Guide to onTokenMove]].


[[Category:Event]]


[[Category:Event]]
[[Category:Macro Function]]

Latest revision as of 23:59, 4 July 2023

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

This event is triggered whenever a token is moved.

As a "real" macro event it is automatically called whenever a token is moved. To set this up you have to create a lib:token and place a macro on it called "onTokenMove"".

Note: in a campaign should only be one onTokenMove-macro.

For more information see Guide to onTokenMove.