RPTools.net

Discussion and Support

Skip to content

It is currently Mon Dec 18, 2017 12:18 am 






Reply to topic  [ 6 posts ] 

Previous topic | Next topic 

  Print view

Author Message
User avatar  Offline
Cave Troll
 
Joined: Sun Mar 22, 2015 2:57 pm
Posts: 46
 Post subject: Get a token's image including current states?
PostPosted: Tue Dec 12, 2017 8:02 pm 
Is there a way to call on the image of a token (like getTokenImage) but include the active states on the image? Kind of like how you can have the token images in the Initiative window with the active states.


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Tue Nov 10, 2009 6:11 pm
Posts: 7969
Location: Bay Area
 Post subject: Re: Get a token's image including current states?
PostPosted: Tue Dec 12, 2017 8:46 pm 
Yes, you can look at all the state functions here: http://lmwcs.com/rptools/wiki/Category:State_Function

You'll want to use Wiki: getTokenStates().

_________________
Downloads:


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Fri May 12, 2006 7:56 pm
Posts: 6325
Location: Middle of Nowhere, NM
 Post subject: Re: Get a token's image including current states?
PostPosted: Wed Dec 13, 2017 9:24 am 
I think the OP is asking for the token image with the images for the active states overlayed on the token image.

I could see this being handy on a character sheet or something similar.


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Tue Nov 10, 2009 6:11 pm
Posts: 7969
Location: Bay Area
 Post subject: Re: Get a token's image including current states?
PostPosted: Wed Dec 13, 2017 9:49 am 
Ah, I missed that. Well, sort of but it's not perfect. You can create a table, use the token image as a background image of table which has to have the correct native size. Then inside the table put the state images. Putting a grid next to the original image is more practical and doesn't cover the token image.

_________________
Downloads:


Top
 Profile  
 
User avatar  Offline
Cave Troll
 
Joined: Sun Mar 22, 2015 2:57 pm
Posts: 46
 Post subject: Re: Get a token's image including current states?
PostPosted: Wed Dec 13, 2017 12:31 pm 
Phergus has correctly clarified what I was asking.

I figured there wasn't a way to do it - at least I had gone through every wiki entry I could think might have it and couldn't find it as an option.

Thanks for the potential work-around, but I'll probably just do without. No biggie - I just thought I'd toss out the question before I gave up the search.


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Tue Nov 10, 2009 6:11 pm
Posts: 7969
Location: Bay Area
 Post subject: Re: Get a token's image including current states?
PostPosted: Wed Dec 13, 2017 5:17 pm 
What I would do is have a tooltip show the state images.

_________________
Downloads:


Top
 Profile  
 
Display posts from previous:  Sort by  
Reply to topic  [ 6 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 2 users online :: 0 registered, 0 hidden and 2 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 2 guests





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

Style based on Andreas08 by Andreas Viklund

Style by Elizabeth Shulman