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

change map clone tokens

November 19 (2 years ago)

can anyone help 2 out of 5 of the characters follow th ribbon the others are left behind. does anyone know what causes this. 

November 19 (2 years ago)

Edited November 19 (2 years ago)
Gauss
Forum Champion

Drag the players avatars (bottom left corner usually, where their names are) from the other pages to the ribbon. That will put everyone on the same page. 

This is a feature to allow different players to be on different pages.

November 19 (2 years ago)
keithcurtis
Forum Champion
Marketplace Creator
API Scripter

If they have been split, you will need to drag their little icons that are on the different map thumbnails to the flag. I do not think you can drag directly from avatar to flag. If you cannot easily find them, drag from the avatar to any page, and then from that page to the flag.

November 19 (2 years ago)

so the issue is that i installed the ApI "map change-clone token " that is what isn't working, it only clones 3 out of the 5 character tokens when i relocate the ribbon to a new page 

at one point in moved 3 but after doing something now only 2 move. i made a new character as a player and it seemed to work fine. 

i am trying to figure out what the changes are that effect it. 

November 19 (2 years ago)

not sure if  it matters but 2 players control the 5 characters 

November 19 (2 years ago)

Edited November 19 (2 years ago)

https://app.roll20.net/forum/post/10202312/change-map-clone-tokens-what-is-it-supposed-to-do-how-does-it-work/?pageforid=10202379#post-10202379

Are the two tokens that are not cloned images that are in your library, or images that came from a module, or the standard generic shape/silhouette image? The API cannot create images that are not in your library. 


There are also the restrictions on the script page itself:

Considerations: - 'Player tokens' are tokens that

a.) have a charater sheet

b.) character sheet is controlled by a player.

- 'Player tokens' are assumed to have unique names.

- The spawn coords of the new tokens reflect the original postion of the token on previous map.

November 19 (2 years ago)

the ones that were moving were not in my library. the player created those without me. with their own art. the ones that didnt move were pulled from a mod i believe. thanks i will try to use only images from my library ans see if that helps.


November 19 (2 years ago)

all listed script requirments were met. 


November 19 (2 years ago)

So in the end i disabled every other API i had active and it works fine now, Thanks for the help but now looks like the process of elimination begins, something must have been interfering 

November 19 (2 years ago)

Welland S. said:

the ones that were moving were not in my library. the player created those without me. with their own art. the ones that didnt move were pulled from a mod i believe. thanks i will try to use only images from my library ans see if that helps.

Mod scripts can't access images from the marketplace, which are any that were not uploaded by a player and saved in any player's art library.

November 19 (2 years ago)

OK Thank you that was the problem, working great now. much appriciated.