Hi all,
I'm wondering if there's a function to draw a VBL line between 2 points on the map (giving the coords), and mainly to remove a VBL line in the same way.
I need it for a trap, a collapsing wall.
I've already put down some simple code to hide the wall and to place some debirs where the wall was, but what I'm missing is a way to erase also the VBL line that I draw over that wall.
Since I always write down also a "Reset" macro, I'd like a way to automatically re-draw the VBL line on click.
Thanks in advance
Stefano
Draw VBL via macro code
Moderators: dorpond, trevor, Azhrei, giliath, jay, Mr.Ice
- Full Bleed
- Demigod
- Posts: 4736
- Joined: Sun Feb 25, 2007 11:53 am
- Location: FL
Re: Draw VBL via macro code
Maptool is the Millennium Falcon of VTT's -- "She may not look like much, but she's got it where it counts."
Re: Draw VBL via macro code
Is the wall a separate image from the background map? If so, you could attach the VBL to the wall token, and instead of hiding it move it somewhere out of the way.
Re: Draw VBL via macro code
I used the eraseVBL function at the end, and it works perfectly
Thank you both guys!
Thank you both guys!