Get a token's image including current states?
Moderators: dorpond, trevor, Azhrei, giliath, jay, Mr.Ice
- TheIneffableCheese
- Cave Troll
- Posts: 64
- Joined: Sun Mar 22, 2015 3:57 pm
Get a token's image including current states?
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.
Re: Get a token's image including current states?
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().
You'll want to use Wiki: getTokenStates().
Downloads:
- Notepad++ MapTool addon
- RPEdit details (v1.3)
- Coding Tips: Modularity and Design
- Videos: Macro Writing Tools
Re: Get a token's image including current states?
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.
I could see this being handy on a character sheet or something similar.
Re: Get a token's image including current states?
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:
- Notepad++ MapTool addon
- RPEdit details (v1.3)
- Coding Tips: Modularity and Design
- Videos: Macro Writing Tools
- TheIneffableCheese
- Cave Troll
- Posts: 64
- Joined: Sun Mar 22, 2015 3:57 pm
Re: Get a token's image including current states?
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.
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.
Re: Get a token's image including current states?
What I would do is have a tooltip show the state images.
Downloads:
- Notepad++ MapTool addon
- RPEdit details (v1.3)
- Coding Tips: Modularity and Design
- Videos: Macro Writing Tools