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

Changing Turn_Marker Token

I wanted to change the marker token used by the Turn_Marker script -&nbsp; <a href="https://wiki.roll20.net/Script:Turn_Marker" rel="nofollow">https://wiki.roll20.net/Script:Turn_Marker</a> - But I must be missing something. I've tried to update the script from: tokenURL: '<a href="https://s3.amazonaws.com/files.d20.io/images/4095816/086YSl3v0Kz3SlDAu245Vg/thumb.png?1400535580" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/4095816/086YSl3v0Kz3SlDAu245Vg/thumb.png?1400535580</a>', to&nbsp; tokenURL: '<a href="http://nimbusscale.com/roll20/turn_marker.png" rel="nofollow">http://nimbusscale.com/roll20/turn_marker.png</a>', but it doesn't take.&nbsp; The script doesn't have any other reference to a png. And I've tried clearing cache, restarting the browser, deleting the script and recreating it, but it still is using the old token. And I have no idea how it's even referencing the old URL since it's not in the script anymore. I'm just starting to play with JavaScript, so I'm sorry if this is a noob question, I just don't get what I am missing. Thanks!
1471931842
Lithl
Pro
Sheet Author
API Scripter
That image url is used in a createObj call. createObj can only use images that are in a player's (any player's) library. You can use a different image, but it has to be in an image library (which will end up being on Amazon's AWS), not on some arbitrary website.
1471933882
The Aaron
Pro
API Scripter
That script is a bit old and lacking in the configuration department. (Sorry!) You need to upload the image to your library and get the URL for it there. Make sure to replace med, max, or original in the URL with thumb.&nbsp; Replace the URL in the script with your new one.&nbsp; Change the schema number at the top of the script.&nbsp; That should make it start using the new image. Ping me if you have any issues.&nbsp;