Hey all,
I'm trying to create a multi-sided token for one of my players. He's able to change into an Air Elemental which is a Large creature, but his normal size is Medium. Is this possible?
Hey all,
I'm trying to create a multi-sided token for one of my players. He's able to change into an Air Elemental which is a Large creature, but his normal size is Medium. Is this possible?
You would need to use something like TokenMod to adjust the size. If all the images are in a User Library, you can use TokenMod to change the face and resize the token, then just make a menu:
!token-mod {{ --set ?{Side|Regular,currentside#1 size#70|Air Elemental,currentside#2 size#140} }}
Thank you Keithcurtis, that worked beautifully. One more question, with TokenMod, is there a way to set the HP for the Air Elemental side of the token as well in the same script?
Yes, probably.
You can definitely set the value of the bar. If the bar is linked, you'll be updating the character's hit points as well though. You could link the bar to a different attribute which is the air element's hp, or store the current hp in another unused bar and restore it later.
Ok, I'm thinking to set a new Attribute for the Air Elemental's HP. How would that look with the rest of the code? Im not sure I completely understand how to link the different parts of the --set attribute. And would I need to set the HP for both sides?
Yeah. Assuming you create an attribute "ae_hp" for the Air Elemental and you use bar1 for the hp display, something like this:
!token-mod {{ --set ?{Side|Regular,currentside#1 size#70 bar1_link#hp|Air Elemental,currentside#2 size#140 bar1_link#ae_hp} }}
You might need something to reset the Air Elemental to max hp.
@Aaron - I made a few adjustments, but it works perfect. With only a little hiccup. The HP for both sides of the token are what they're supposed to be, but when you modify it for the first time, you can't see the change until you click off the token. Not a big problem for how well it works. Thank you for your help.
In case you're wondering, the modified code is below:
!token-mod {{ --set ?{side|Franis Khass, currentside#1 height#70 width#70 bar1_link#HP|Air Elemental, currentside#2 height#140 width#140 bar1_link#ae_hp} }}