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

[Request] Script to announce distance measured with the ruler

Any chance there's a way to use the API to announce the distance measured with the ruler tool over in the chat section? Could be a handy alternative fix for this Suggestion:&nbsp; <a href="https://app.roll20.net/forum/post/1244188/the-size-of-the-distance-measurement-should-scale-with-zoom-levels-ruler/" rel="nofollow">https://app.roll20.net/forum/post/1244188/the-size-of-the-distance-measurement-should-scale-with-zoom-levels-ruler/</a>
1483339430
Lithl
Pro
Sheet Author
API Scripter
The API can't react to using the measurement tool, but it could report the distance you moved a token by.
1483343602
Andrew C
Marketplace Creator
You might also be able to get away with a kind of 'target Token and a vector finder. Obj A = Target, Obj B = Shooter Choose Obj B and tell Script it is the Shooter. Click on Obj A. API Calculates distance based on Obj positions. Dump it in chat as "((Target)) is ((number)) ((unit lifted off map settings)) from ((Shooter))".
Ah-hah, this ought to help:&nbsp;<a href="https://app.roll20.net/forum/post/537763/script-range-finder" rel="nofollow">https://app.roll20.net/forum/post/537763/script-range-finder</a>
<a href="http://imgur.com/a/Mkc2k" rel="nofollow">http://imgur.com/a/Mkc2k</a> Image album full of targeting arrows and pointers. Useful for making tokens and giving players access to, which work better than pinging the map. The pointers and targeting reticules stick around. That way you can see what the players are pointing to instead of having to ask them to re-ping it if you were looking away. Also useful with the range finder script if you want to find the range if there are no tokens to target in that area.