onTokenMove: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
m (This is a stub; typographical tweaks)
No edit summary
Line 2: Line 2:
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 {{code|"onTokensMove"}}".  
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 '''<u>one</u>''' onTokenMove-macro.
'''Note:''' in a campaign should only be '''<u>one</u>''' onTokenMove-macro.

Revision as of 13:47, 1 October 2019

 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.