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

Group Initiative Problem

Trying to add a new list of modifiers to Group Initiative. Am I doing something wrong? !group-init --add-group --Bare DexterityMod --Bare InitiativeMod --Negative SizeMod --tie-breaker Charisma
1613492566
The Aaron
Roll20 Production Team
API Scripter
That looks fine.  What problem are you having?
None of the modifiers get applied
1613492825
The Aaron
Roll20 Production Team
API Scripter
I tried the above in a test game and it created the group fine: Is the issue that the rule isn't firing?  With the advent of Character Sheets, only the first rule will fire unless you are using a custom attribute.  I need to rewrite the rule engine, but it's a bit complicated and hasn't risen to the top yet.
The group is created, the modifiers just don't show up in the roll. When I use the standard initiative macro I have those attrobutes work fine. I do get the following listed in my API box. ["whisper|Rakasta","whisper|Rakasta","tokenid|-MSjwkAbuRBUGk00eu5o","name|Rakasta Initiative: [[1d20 -(0) +0 +(9*.01) +0 [TXT|TRKR] ]]  "] ["whisper|Rakasta","whisper|Rakasta","tokenid|-MSjwkAbuRBUGk00eu5o","name|Rakasta Initiative: [[1d20 -(0) +0 +(9*.01) +0 [TXT|TRKR] ]]  "] ["whisper|Brother-Blass","whisper|Brother-Blass","tokenid|-MSjvr0Ezg3XhxviB84Q","name|Brother-Blass Initiative: [[1d20 -(0) +0 +(10*.01) +9 [TXT|TRKR] ]]  "] "Error: No attribute or sheet field found for character_id -MLSyYG7QysXREF_Oudn named InitiativeMod" "Error: No attribute or sheet field found for character_id -MLSyYG7QysXREF_Oudn named SizeMod" "Error: No attribute or sheet field found for character_id -MPoAoY9rQqOP62a11xw named InitiativeMod" "Error: No attribute or sheet field found for character_id -MPoAoY9rQqOP62a11xw named SizeMod" "Error: No attribute or sheet field found for character_id -MENjTgG5n1-iDreFOiw named InitiativeMod" "Error: No attribute or sheet field found for character_id -MENjTgG5n1-iDreFOiw named SizeMod" "Error: No attribute or sheet field found for character_id -MPoAoY9rQqOP62a11xw named InitiativeMod" "Error: No attribute or sheet field found for character_id -MPoAoY9rQqOP62a11xw named SizeMod" "Error: No attribute or sheet field found for character_id -MPFNnY3rElUgwXRMTMT named InitiativeMod" "Error: No attribute or sheet field found for character_id -MPFNnY3rElUgwXRMTMT named SizeMod" "Error: No attribute or sheet field found for character_id -MA1HSO1CIAr8iAt82NV named InitiativeMod" "Error: No attribute or sheet field found for character_id -MA1HSO1CIAr8iAt82NV named SizeMod" ["whisper|Brother-Blass","whisper|Brother-Blass","tokenid|-MSjvr0Ezg3XhxviB84Q","name|Brother-Blass Initiative: [[1d20 -(0) +0 +(10*.01) +9 [TXT|TRKR] ]]  "] But SizeMod and InitiativeMod do indeed exist and I still dont get the DexterityMod added or the Charisma tie-breaker.
Nevermind. Typo. So stupid.
1613500315
The Aaron
Roll20 Production Team
API Scripter
Ah!  So, let me ask you this: is there a way your type could have been detected by the script?
Not sure. I just remembered the Attributes incorrectly. It was when I looked at the message on the API page that I realized it wasn't SizeMod just Size.
1613502697
The Aaron
Roll20 Production Team
API Scripter
hmm.  Ok.  I think I could actually incorporate that into GroupInitiative by checking when a rule is created how many characters have that attribute and reporting back.