Discussion and Support

Skip to content

It is currently Thu Feb 22, 2018 11:30 pm 

Forum rules

PLEASE don't post images of your entire desktop, attach entire campaign files when only a single file is needed, or generally act in some other anti-social behavior. :)

Reply to topic  [ 2 posts ] 

Previous topic | Next topic 

  Print view

Author Message
User avatar  Offline
Joined: Fri Mar 19, 2010 9:27 am
Posts: 15
Location: France (Guyancourt / Limoges)
 Post subject: Key or command for selecting a specific layer?
PostPosted: Fri Jan 27, 2017 9:15 am 

is it a way to bind a key (or a command for a macro i can key-bind) in order to select with the mouse an item on layer "Token", "Hidden", "Object" or "BackGround"?

I usually define a sort of "character sheet" for the doors or specific objects on my maps, and i use the onChangeSelection method to update this charactersheet. But in order to select simply a door to open, i have to put all my doors on the "token" layer, instead of the object layer, which should be more logical from my psychorigid point of view ;) ...


User avatar  Offline
Great Wyrm
Joined: Mon May 10, 2010 11:59 am
Posts: 1762
Location: Chicagoland
 Post subject: Re: Key or command for selecting a specific layer?
PostPosted: Fri Jan 27, 2017 10:40 pm 
Mmm, I don't believe there is...

What I did was, create a state, isDoor, set that on object used as doors. Then I have a macro that selects (well, does more, like move it) the neared door based on a selected PC. Basically a selectTokens() with conditions states:{"OBJECT"} and within a certain distance.

Normally a token is near a door that needs to be opened so it works 90% of the time. (except for the smart donkey mage using mage hand or open/close spells)

Custom MapTool 1.4.x.x Fork: maptool.nerps.net
Custom TokenTool 2.0 Fork: tokentool.nerps.net
More information here: MapTool Nerps! Fork

Display posts from previous:  Sort by  
Reply to topic  [ 2 posts ] 

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:

Who is online

In total there are 3 users online :: 0 registered, 0 hidden and 3 guests (based on users active over the past 5 minutes)
Most users ever online was 243 on Sun Nov 04, 2012 6:14 am

Users browsing this forum: No registered users and 3 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

Style based on Andreas08 by Andreas Viklund

Style by Elizabeth Shulman