For years I've been using the following script on single tokens to (re)set them up in a rerunnable 5e dungeon: !token-mod {{
--on
showname
showplayers_name
showplayers_bar1
--set
bar3_value|@{selected|npc_speed}
bar2_value|@{selected|npc_ac}
bar1|[[@{selected|npc_hpformula}]]
statusmarkers|-dead
bar_location|overlap_top
}} I'm now trying to use @timmaugh's recommended TokenMod + SelectManager + Fetch + ZeroFrame for handling this Token Mod script to process it on multiple tokens at once but am running into an issue !forselected(^) token-mod {{
--on
showname
showplayers_name
showplayers_bar1
--set
bar3_value|@^(selected.npc_speed)
bar2_value|@^(selected.npc_ac)
bar1|@^(selected|npc_hpformula)
statusmarkers|-dead
bar_location|overlap_top
}} Bar1 max and Bar1 current becomes the HP formula from the tokens' character sheet(s). Any ideas or thoughts on appropriately setting up Bar 1 with current and max HP as a roll of the formula? TYIA