[1.4.1.7] Draw Order with VBL Object

Developer discussion regarding MapTool 1.4

Moderators: dorpond, trevor, Azhrei

Forum rules
Posting now open to all registered forum users.
Post Reply
User avatar
aliasmask
RPTools Team
Posts: 9024
Joined: Tue Nov 10, 2009 6:11 pm
Location: Bay Area

[1.4.1.7] Draw Order with VBL Object

Post by aliasmask »

Apparently the draw order is always set to 0, but is always on top of other tokens. For example, I have some VBL doors on the object layer and when a token dies it goes to the object layer. No matter what the draw order is [getTokenDrawOrder(getSelected())] the door is always on top making it so I can't select the other token beneath it without moving the door.

Is this intended behavior or something to do with vbl object appearing above the FOW layer. I can live with it, but it could be considered a bug or at best an inconvenience.

User avatar
JamzTheMan
Great Wyrm
Posts: 1872
Joined: Mon May 10, 2010 12:59 pm
Location: Chicagoland
Contact:

Re: [1.4.1.7] Draw Order with VBL Object

Post by JamzTheMan »

It's a by product of the always visible property. It can't be helped at this point.
-Jamz
____________________
Custom MapTool 1.4.x.x Fork: maptool.nerps.net
Custom TokenTool 2.0 Fork: tokentool.nerps.net
More information here: MapTool Nerps! Fork


User avatar
aliasmask
RPTools Team
Posts: 9024
Joined: Tue Nov 10, 2009 6:11 pm
Location: Bay Area

Re: [1.4.1.7] Draw Order with VBL Object

Post by aliasmask »

How about at least programming the stacking option with tokens. ie double click to get a list of stacked tokens, and then select the one you want.

User avatar
JamzTheMan
Great Wyrm
Posts: 1872
Joined: Mon May 10, 2010 12:59 pm
Location: Chicagoland
Contact:

Re: [1.4.1.7] Draw Order with VBL Object

Post by JamzTheMan »

I believe there is a setAlwaysVisible() macro of it helps.

And I guess the stacking isn't working because it is across layers. So you are suggesting adding any tokens that are always visible to the stack on the token layer?

I'm on my phone so will have to play with the scenario later...
-Jamz
____________________
Custom MapTool 1.4.x.x Fork: maptool.nerps.net
Custom TokenTool 2.0 Fork: tokentool.nerps.net
More information here: MapTool Nerps! Fork

Post Reply

Return to “MapTool 1.4”