Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Can a token move maps with a player?

Hi, I’m new to roll20 but have been really enjoying it. Had a question I couldn’t find a solution to on the forums. Is there a way to link a player to a token so that when they are moved to a different map their associated token follows. I’ve been able to copy and paste a token (this seems to leave a copy on the previous map), and I can make a journal character and drop it into the next map(again this leaves a token on the original map that I don’t want). What I want is when player(s) are moved to a map the tokens follow. 
Any suggestions? 
January 13 (7 years ago)
Pat S.
Forum Champion
Sheet Author
It would probably take an API script (pro subscription feature) to combine the player movement (there is a script for that already) and a cut/paste (it would probably be more of a deletion/posting) of the token on a new map. Someone more versed in the API would need to say more.
January 13 (7 years ago)
If you want the token to immediately and automatically move a token you need the API (pro subscription feature). Each Token has a "_pageid" which tells you on which page the token is. When a player switches the maps you can simply change the id and the token will follow.
Thanks for the responses. I’ll have to look into pro and see if it has some other features for my needs. Thanks for your help
January 13 (7 years ago)
Gold
Forum Champion

Chris K. said:

Any suggestions? 

When ready to move pages, before you drag the Player ribbon. Highlight the Player tokens, and press control-C (COPY). Then press Delete, this removes the tokens from that map page. Now drag the Player ribbon to the new page, and press control-V (PASTE). This is the easiest, non-API, default technique for not leaving a copy of the Tokens on the previous page.
January 13 (7 years ago)
@Gold
I’ve been able to copy and paste a token (this seems to leave a copy on the previous map), and
He already knows that and seems to be not satisfied with that solution.
January 13 (7 years ago)
Pat S.
Forum Champion
Sheet Author

Chris K. said:

Thanks for the responses. I’ll have to look into pro and see if it has some other features for my needs. Thanks for your help

You will love the expanded library space so you can hold more images (if you do maps and tokens), the transmogrifer is a great tool to have, dynamic lighting is fun to play with especially with tokens and maps, and once you discover the various API scripts you will probably love them.
January 13 (7 years ago)
Gold
Forum Champion

Nico said:

@Gold
I’ve been able to copy and paste a token (this seems to leave a copy on the previous map), and
He already knows that and seems to be not satisfied with that solution.

The suggested addition to the technique is --- delete the tokens from the previous map before moving pages. Then there is not a copy left on the previous map.

This is simply an alternative, a default technique that works without subscribing, and accomplishes the main goal. I understand he is looking for alternative methods, and just wanted to make sure he knew that Copy/Delete/Paste is a quick method that requires very few keystrokes (far less effort than installing or writing an API script).