5E Product Walkthrough Playlist
  1. #1
    GKEnialb's Avatar
    Join Date
    Jul 2017
    Location
    Castle Rock, CO
    Posts
    523

    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.

  2. #2
    You would need to do that in a Token.onAdd handler; just like the one used in the TokenManager in CoreRPG.

    Regards,
    JPG

  3. #3
    GKEnialb's Avatar
    Join Date
    Jul 2017
    Location
    Castle Rock, CO
    Posts
    523
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
DICE PACKS BUNDLE

Log in

Log in