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 .
×
Create a free account

Token-Mod does not link bars

March 27 (5 days ago)

Edited March 27 (5 days ago)
DM
Pro

I've tried a lot of syntaxes, copied and pasted from the help page, tried npcs and pcs, but bar1_link and etc aren't working.
Some of the syntaxes that I've tried:

!token-mod {{
--set
    bar1_link|hp
}}

!token-mod {{
--set
    bar1_link#npc_HP
}}


!token-mod {{
--set
bar1_link|hp
defaulttoken
--ids @{selected|character_id}}}
!token-mod --set defaulttoken

!token-mod {{
--set
    bar1#@{selected|hp)
    bar1_max#@{selected|hp)
}}

March 27 (5 days ago)

Sanity check - just FYI it's always helpful to include this information for any post on the forums:

What game are you playing? (I'm assuming D&D 5th edition)

Which character sheet are you using? (I'm assuming 'D&D 5E 2014 by Roll20', or 'D&D 5E 2024 by Roll20', or possibly both)

Is this a Jumpgate or Legacy game?


I believe there are still bugs for linking tokens for Jumpgate games and/or the new 2024 D&D 5E sheet.

March 27 (5 days ago)
Andrew R.
Pro
Sheet Author

Here's an example from my The One Ring 2e library game (Classic), for setting up Adversary tokens. 

!token-mod {{
--on
showname
show_tooltip

--off
showplayers_name
showplayers_bar1
showplayers_bar2
showplayers_bar3

--set
name|"@{selected|name} %%NUMBERED%%"
tooltip|"Parry @{selected|parry}"

--set
bar1_link|
bar2_link|
bar3_link|

--set
bar1|@{selected|endurance}
bar2|@{selected|hate}
bar3|@{selected|might}
bar2_max|
bar3_max|

--set
bar_location|off
compact_bar|on
}}
March 27 (5 days ago)
Andrew R.
Pro
Sheet Author

Here's an example from my The One Ring 2e library game (Classic), for setting up Player-Hero tokens.

!token-mod {{
--on
showname
showplayers_name
showplayers_bar1
showplayers_bar2

--off
show_tooltip
showplayers_bar3

--set
bar1_link|endurance
bar2_link|hope
bar3_link|stance
}}
March 27 (5 days ago)
DM
Pro


Jarren said:

Sanity check - just FYI it's always helpful to include this information for any post on the forums:

What game are you playing? (I'm assuming D&D 5th edition)

Which character sheet are you using? (I'm assuming 'D&D 5E 2014 by Roll20', or 'D&D 5E 2024 by Roll20', or possibly both)

Is this a Jumpgate or Legacy game?


I believe there are still bugs for linking tokens for Jumpgate games and/or the new 2024 D&D 5E sheet.

Ah, yes!

D&D 5E 2024 by Roll20
Jumpgate

My bad.

I'm guessing its the bug, then. Thank you!