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

[script request or if done] Marking/linking via lines draw tool.

So I was wondering if this has been done yet etc. Basically I was thinking of a different method of marking. Has it been done that a line can be drawn or linked between two tokens? When one moves the line is redrawn or rescaled to meet its new position. So that the two tokens are always linked by a line.

not sure if its been done before but it seems an easier way to keep up marks and targets and focuses of attacks this way.

Dunno if its done before yet though.
March 12 (9 years ago)
The Aaron
Pro
API Scripter
I've not seen it done, but it sounds like a good idea. Want to flesh out the requirements done more?

My initial thoughts:
  • Command to link takes two token ids (or one and uses the selected token)
  • Draws the line in the executing player's color
  • Line breaks if either creature is removed or moved to a different layer
What else?


March 12 (9 years ago)
Wes
Pro
Sheet Author
  • Make the linking line appear on the map layer. And shadow the movements of the tokens, so it is out of the way and not getting selected.
  • I would use a dumbell shape. Line connecting circles around each token.
  • Opacity setting for the line.
  • A setting for a break if it exceeds a specified distance.
  • All the things I haven't thought of yet.
March 12 (9 years ago)
The Aaron
Pro
API Scripter
Those pretty well mirror my thoughts! =D  Opacity is out, API can't control that. Line width is probably a reasonable substitute. Break on distance is simple to implement but might not be too useful in practice. (I could be wrong here, but it seems likely that exceptions to the breaking might be more common than the actual breaking. Maybe having a "restore last" command would mitigate that. )

What else?
Breaking on distance doesn't seem too useful to me really? Maybe in war games its useful.

Wes said:
  • Make the linking line appear on the map layer. And shadow the movements of the tokens, so it is out of the way and not getting selected.
  • I would use a dumbell shape. Line connecting circles around each token.
  • Opacity setting for the line.
  • A setting for a break if it exceeds a specified distance.
  • All the things I haven't thought of yet.

  • Dumb-bell shapes as in curved lines from target to target? Suppose seems a bit excessive. 
  • Maybe making it the same colour as the icon being used. So red dot to red dots. If feasible.
  • Hmm, I imagine maybe multiple lines from one target to others. So they could potentially mark other targets.
  • Right now I think it has some pretty good uses for large maps and war games and helping to decide line of sight between targets and what not.

    The reason why I asked was because I have seen quite alot of dynamic lighting scripts and a lot of "Marking" scripts but I always felt marking via token icons was jarring, I mean in games which have a lot of marking and targeting, its useful to have things that can be tokens, Pretty sure you can potentially have a line as an image thats stretched, and give it a token name with show name plate on. So you know what the line is doing too.

    For example in my  D&D 5E game I want to keep track of the "Bless" Spell that is coming from a cleric, by having say, 3 yellow lines connected from him to his desired targets. That way when they move about etc, it updates and follows them to that new position. Mostly it serves as a visual aid, and can look "cool" seeing visual buff lines between targets, Marked targets, or general focus of attacks for war games too.

March 13 (9 years ago)
Wes
Pro
Sheet Author
Something Along These Lines.
March 13 (9 years ago)
The Aaron
Pro
API Scripter
I think this could be awesome.  =D

Wes said:

Something Along These Lines.

Indeed, though, where did you get those neat token backgrounds? Did Tokentool come with such a thing? :o
March 13 (9 years ago)
Wes
Pro
Sheet Author
Gimp, a gold ring and textures layered behind!
Ooo nice. Those are very sleak, I'll try my hand at that. Maybe even thin texture effects. 

Would love to see a script for this kind of thing. Unfortunately way beyond my understanding.