Page 1 of 1

Free size on tokens?

Posted: Tue Feb 28, 2017 6:53 am
by ziltmilt
It doesn't look like this is an option. There's no way to free size our tokens is there? What I'm shooting for is sci-fi vehicles that are scaled to characters.

Alternately .. objects can have properties and macros still interact with them same as tokens, right? ie, my vehicle can be an object or a token for macros to update or read properties?

Re: Free size on tokens?

Posted: Tue Feb 28, 2017 8:28 am
by wolph42
not sure what you're aiming at, but freesize is possible on the background layer. Next to that you can use macros to size tokens to your liking.

Re: Free size on tokens?

Posted: Tue Feb 28, 2017 4:28 pm
by xavram
Yes, your vehicle can be on the Object layer but still have properties that can be get/set by macros. I have this all over the place in my current project. Players exists on the Token layer, hazards exist on the Object layer...and hazards all have their own set of properties which change via macros.

Re: Free size on tokens?

Posted: Tue Feb 28, 2017 6:14 pm
by ziltmilt
Looks like the setSize() function only sets the token to a pre-defined size (large, medium, etc). I need to go way beyond Colossal. Free-sizing this vehicle as an object will work, but the disadvantage is having to switch between layers if combat is between characters and vehicles.

Another workaround: set the vehicle as an object, do free-size as desired, then change it back to a token. Any idea if this will cause problems with code that manipulates the token properties?

Re: Free size on tokens?

Posted: Tue Feb 28, 2017 6:20 pm
by wolph42
what you are looking for is setTokenHeight and setTokenWidth

Re: Free size on tokens?

Posted: Wed Mar 01, 2017 2:59 pm
by JamzTheMan
Or, move token to object layer, freesize it, move back to the token layer.