Is there any command to change tokens layout using a makro?
Thanks
Changing token's layout using makro
Moderators: dorpond, trevor, Azhrei, giliath, jay, Mr.Ice
Changing token's layout using makro
High Templar of Ur
Re: Changing token's layout using makro
Do you mean setTokenShape?
Re: Changing token's layout using makro
Nah! I mean changing the token's appearance.
For example, it is an elf token, and change it in werewolf token.
The layout image.
-------------------------------------------
EDIT.
Nevermind i found out that i could make changes using states.
Thanks
For example, it is an elf token, and change it in werewolf token.
The layout image.
-------------------------------------------
EDIT.
Nevermind i found out that i could make changes using states.
Thanks
High Templar of Ur
Re: Changing token's layout using makro
yup, thats possible, both aliasmask and me have created a polymorph function in our macro set. mine you can access by downloading and installing the bag of tricks, link in sig.
GETTING STARTED WITH MAPTOOLS - TUTORIALS, DOCS, VIDEOS, TOOLS, ETC
DISCORD (the new MT forum!)
My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent.
Frameworks: Dark Heresy, Rogue Trader, Deathwatch, Black Crusade, Only War, SET Card Game, RoboRally
Wiki: Debugging Tutorial, Speed Up Your Macros, Working With Two CODE Levels, Shortcut Keys, Avoiding Stack Overflow, READ THIS
DISCORD (the new MT forum!)
My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent.
Frameworks: Dark Heresy, Rogue Trader, Deathwatch, Black Crusade, Only War, SET Card Game, RoboRally
Wiki: Debugging Tutorial, Speed Up Your Macros, Working With Two CODE Levels, Shortcut Keys, Avoiding Stack Overflow, READ THIS
Re: Changing token's layout using makro
You can very easily switch the token image
setTokenImage
setTokenImage
Re: Changing token's layout using makro
What i actually wanted to make is a random generating terain consisting of different tiles.
Traps, normal, holes, treasure, wall etc.
So I created same tokens (with dirt image) and added a makro on each one.
The makro rolls 1d32 (32 different dungeon tile images) and when running the makro it chooses 1 of 32 random images and apply it on the token as state (complete new image). Then moving (using the makro) the whole token on object layer (so character token be above it) and vuala i get random dungeon tiles.
Its like the character is exploring through dark discovering new rooms or digging the dirt discovering new rooms.
Each time i get a different dungeon.
Traps, normal, holes, treasure, wall etc.
So I created same tokens (with dirt image) and added a makro on each one.
The makro rolls 1d32 (32 different dungeon tile images) and when running the makro it chooses 1 of 32 random images and apply it on the token as state (complete new image). Then moving (using the makro) the whole token on object layer (so character token be above it) and vuala i get random dungeon tiles.
Its like the character is exploring through dark discovering new rooms or digging the dirt discovering new rooms.
Each time i get a different dungeon.
High Templar of Ur
Re: Changing token's layout using makro
Wolph42 has built exactly that!
Re: Changing token's layout using makro
Ye, cool one.Jagged wrote:Wolph42 has built exactly that!
Mine is simpler.
High Templar of Ur