I have to "lists" of token properties. Basic, and Monster.
I want to change the list of token properties, that is located in the config tab, from within a macro.
I have attached a phot in case I was not explaining what I want to change properly.
Change properties in config tab from within a macro.
Moderators: dorpond, trevor, Azhrei, giliath, jay, Mr.Ice
-
- Giant
- Posts: 192
- Joined: Mon Apr 11, 2011 8:11 pm
Re: Change properties in config tab from within a macro.
I usually force the token type within my create token macro by doing this.
Code: Select all
[H: isPathfinder = startsWith(getPropertyType(),"Pathfinder 2")]
<!-- force token type -->
[H, if(! isPathfinder && ! isGM()): setPropertyType("Pathfinder 2")]
[H, if(! isPathfinder && isGM()): setPropertyType("Pathfinder 2_NPC")]
Downloads:
- Notepad++ MapTool addon
- RPEdit details (v1.3)
- Coding Tips: Modularity and Design
- Videos: Macro Writing Tools
-
- Giant
- Posts: 192
- Joined: Mon Apr 11, 2011 8:11 pm
Re: Change properties in config tab from within a macro.
Thank you, works wonderfully.