-
September 1st, 2022, 01:39 #1
API for map loaded and initial token dropped
Is there an API (or some other method) to tell when a map has completed loading / displayed? I need to do some stuff to tokens only once and the best time to do it is after the map is up and ready to go. On a semi-related topic, is there a way to tell when a token has been dropped onto a map for the first time (whether it was originally on another map or not)? Thanks.
-
September 1st, 2022, 04:04 #2
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,541
You would need to do that in a Token.onAdd handler; just like the one used in the TokenManager in CoreRPG.
Regards,
JPG
-
September 1st, 2022, 04:08 #3
Thanks for the quick response! I'll take a look.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks