Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×

Token Help (Traveller Mongoose) Attributes and Token Bars

1782199892

Edited 1782200088
Hello, I am new to running Roll20, as well as new to running Traveler, im currently trying to figure out how to make Tokens default into using the handy "currwithmax-" attribute by default, I know I can set it by specific character, but certainly there must be a way if I make any new monster or NPC that it would automatically set the token to use those default settings? I found in the game settings page a way to set defaults, but it seems that I can only set the defaults to be specific numbers rather than call up an attribute in game. Is there anyway I can set it to automatically set all tokens to always use this format? I have Pro so I can set up the TokenMod API, but I seem to be looking at a brick wall with it, im sure its powerful but I dont even know where to start to make that work?
1782227264
timmaugh
Pro
API Scripter
Every sheet offers different customization options for the defaults. Some offer a place to put in an attribute, but others do not. If you want to learn TokenMod so you can use it to make a customization, I would suggest a workflow like this: --generate the TokenMod help handout (run  !token-mod --rebuild-help ); you only have to do this the first time and/or periodically if you think something might have changed with a recent TokenMod update --open the TokenMod Help handout, and pop it out (upper left corner of the handout window) --search for something related to the setting you want to change (ie, "bar1", or "link") --follow the example to compose the argument, and try it in your game --modify accordingly to your particular setup TokenMod, like most of the more-widely-used scripts you'll run into, operates with a handle that will trigger it to take action (!token-mod), followed by a series of arguments marked by double-hyphens. Your job in looking in the help is to determine the argument you need, and the syntax for making the change that you want to make. Your command for defaulting a token would be something* like: !token-mod --set bar1_link|currwithmax * not sure if your trailing hyphen was a typo or required; also, you should consider whether you need mook tokens for npcs, which would not require a linked bar, but rather a "max" value set to the max value of the shared character sheet (this will let mooks have individualized bar values, rather than one change affecting them all). The above command would require you to select the token.