Page 1 of 1

Adding MBL to a VBL?

Posted: Sun Aug 14, 2022 11:17 pm
by Hatta00
I have a VBL that I'd like to add MBL to. Is there a way to draw MBL and only keep it where it intersects with VBL?

Re: Adding MBL to a VBL?

Posted: Mon Aug 15, 2022 5:12 am
by aliasmask
You should be able to draw over it to add MBL, but by default VBL (now known as Wall) includes movement blocking.

Re: Adding MBL to a VBL?

Posted: Mon Aug 15, 2022 9:51 am
by Hatta00
That's not the behavior I'm seeing. When I generate a VBL on a token, and move that to the map, all I get is vision blocking.

I was able to figure this out though. This macro did the trick for me.

[h:rectangle = '{"shape":"rectangle","x":0,"y":0,"w":3000,"h":3000,"fill":1,"thickness":1,"scale":0}']
[r:mblData = getVBL(rectangle , 0)]

[drawMBL(mblData)]

Re: Adding MBL to a VBL?

Posted: Mon Aug 15, 2022 5:04 pm
by aliasmask
You didn't mention it was on a token. Version 1.12 beta will allow mbl as well as the other vbl types to be put on a token. Tokens also have the blocking option for movement in the config so tokens can't move through their space.