Yes ... It's taking a while because I'm working on a "mega-Library" that includes much more than just the Property Editor. But I'm making good progress, and pretty soon I'll be able to post a version of it up here. Then I can also strip away everything except the Token Manager and post a new version here.Full Bleed wrote:Raoden, any chance that you're going to update this tool with some of the code I posted above and using resetProperty?
It should have several good new (minor) features, like easy macro deletion.
Yeah, I'm not sure why either. But if you're using b69 and you want to fix it without waiting for me, just throw in a [h: switchToken( id )] and drop the second parameter to getPropertyNames. Might as well also change getPropertyNames to getPropertyNamesRaw, to preserve capitalization.I tried to run this in b69 and got the error:
I'm not sure why, the macro appears to be "trusted".Code: Select all
Function getPropertyNames requires no more than 1 parameters; 2 were provided.
I made the switch in case some unlucky soul enters property names with commas in them. That will probably still cause all kinds of problems, but at least the Token Manager won't be one of them.Also, I'm not sure moving to a json was the best thing when listing the props because now they show out of alphabetical order. Was there some reason why the switch to json was made?
I actually dropped the alphabetical thing on purpose, because I didn't like it. I preferred to keep Strength/Dexterity/etc. in a block together, for example. But if other people did like alphabetization, I can put it back in (even with the json style).