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 .
×
This post has been closed. You can still view previous posts, but you can't post any new replies.

Ability Roll works or GM but doesn't for PC

Hi guys, I need your help to fix a bug. In my main Campaign, I created some macros to win time. When I test them all alone as GM it works greatly, but when players try to use them it goes wrong every time execpt if they focus themselves with the macros The following macro is a " Abilities Roll "- meaning on the character sheet - and goes that way: /em @{selected|character_name} attaque @{target|character_name} à Mains Nues: /roll ({[[(@{DEX} + @{nivMainsNues} + ?{Dé(s) supplémentaire(s)|0}-(%{target|DEF}))]]d10}>[[10-(@{DEX}-5+@{nivMainsNues}))]])) Dégâts: /r [[(@{CONS}+@{nivMainsNues} + @{FOR}-5 - @{target|tenueARM} - @{target|shield})]] The error message players see is : No ability was found for %{Dagga Sory|DEF}  (Dagga Sory is the name of target token in this example) Can you plz help me to fix this, and tell what i'm doing wrong.
When you do @{target... you need to define the target into a variable since you can have multiple targets in a single macro. For example @{target|character_name should look like @{target|target1|character_name} or @{target|first_target|character_name} or whatever convention you want. And when you call that again in the macro call, you use the same name. So %{target|DEF} should be %{target|target1|DEF}.
Thanks for your answer, tried it : /em @{selected|character_name} attaque @{target|target1|character_name} à Mains Nues: /roll ({[[(@{DEX} + @{nivMainsNues} + ?{Dé(s) supplémentaire(s)|0}-(%{target|target1|DEF}))]]d10}>[[10-(@{DEX}-5+@{nivMainsNues}))]])) Dégâts: /r [[(@{CONS}+@{nivMainsNues} + @{FOR}-5 - @{target|target1|tenueARM} - @{target|target1|shield})]] doesn't work, same error message for players, but works well for me
1442548777
vÍnce
Pro
Sheet Author
%{target|target1|DEF}... Perhaps you have control of the target in question, as the GM, but the players do not.
Perhaps, but anyway I fixed it yesterday, turned the target|DEF into attributes, works decently now. Thx to you guys
1442585824
vÍnce
Pro
Sheet Author
Good news.  I don't believe players can perform a roll off another sheet that they don't control. Glad you nailed it down.
Yup, just a last question, was I suppose to tag "Resolved" myself, or its an admin task ?
1442612597
Gen Kitty
Forum Champion
Yannick B. said: Yup, just a last question, was I suppose to tag "Resolved" myself, or its an admin task ? We do that.  :)  Glad everything is working for you again!