I'm trying to create a macro to change one token, like with a polymorph effect, so I need to change size and stats.
So far I managed to get it to change back and forth size and the token image, however I can't seem to have the macro set new properties.
At first I thought the macro got confused because I was trying with something like
Code: Select all
getproperty(Str, tokenX)
setproperty(Str, Str)
so I changed, and decided to create a library token and store the new form properties there.
But still, I can access the property, because when I tested the macro was able to output them, but I can't manage to actually change it.
Code: Select all
[h: setSize("Large")]
[h: getImage('Image:Bezekira')]
[h: setTokenImage("Image:Bezekira")]
[h: getLibProperty("NewStr", "Lib:Bezekira")]
[r: getLibProperty("NewStr", "Lib:Bezekira")]
[h: setProperty(Str, "NewStr")]