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

Macros with error

I'm having some problems in my campaign , macros of the sheets are shuffling . When I use a macro, of the NPCs sheets, this macro persists in other sheets. For example , I use an attack with a "ax" with a bugbear when using an "sickle" with another bugbear , a shaman , rather than up the attack "sickle" , which is the shaman's weapon, appears the "ax" of the previous sheet , even if it is closed. All data used by the macro are from the previous sheet, even if I do a direct roll by the newly opened socket. Really do not know what to do. This problem practically crippled dozens of sheets of my campaign, if not all, I did not checked one by one.
Can you post the macro in question?
1445441702

Edited 1445442054
Silvyre said: Can you post the macro in question? It's not one in particular. All sheets I opened today came with the wrong macros, from other sheets. It is impossible to play as it is just now, a macro to run regardless of the sheet that I opened. At times change the macro, and starts to roll just this one. It's not a case of writing a wrong macro, the macros are right . The problem is that the macro being executed is not of the sheet I'm using.
1445442159

Edited 1445442423
Just checked other sheets, some work , some do not. A large group that was done by duplicating sheets and changing some values does not work. When I change something all of then take the last change, it is quite strange. ________________ I just notice. The problem seems to occur in sheets within the same folder.
You need to reassign the tokens, when you duplicate the sheet it will keep the assigned token linked. If you reassign the tokens on the new sheets it should fix your issue.
Ed S. said: You need to reassign the tokens, when you duplicate the sheet it will keep the assigned token linked. If you reassign the tokens on the new sheets it should fix your issue. I'm not using tokens, just making rolls through the sheets.
1445447469

Edited 1445447849
Can you confirm that when a field on one of the duplicated sheets (that is outputting the "wrong macros") is modified, the Attribute associated with it changes, as well?
Silvyre said: Can you confirm that when a field on one of the duplicated sheets (that is outputting the "wrong macros") is modified, the Attribute associated with it changes, as well? The changed fields are, in fact, changed. But keeps rolling the macro in some other sheet. I checked all the sheets that give error, macros are correct, and do not correspond to what is being rolled in the chat.
1445447927

Edited 1445448147
Could you then post the unparsed output of one of the problematic sheet buttons? To acquire the unparsed output of a sheet's button: Click on the button. Focus the text chat input box (by clicking on the text chat input box, or using the Advanced Shortcut : c c). Press the up arrow key. The unparsed output will then populate the text chat input box.
Silvyre said: Could you then post the unparsed output of one of the problematic sheet buttons? To acquire the unparsed output of a sheet's button: Click on the button. Focus the text chat input (by clicking on it, or using the Advanced Shortcut : c c). Press the up arrow key. The unparsed output will then populate the text chat box. The text of the scroll, when you put your mouse over it, is the wrong macro. However I think I have found the problem. Sheets of the same name . I have several "Bugbears", with just the second name field with 01, 02, 03 , in the first field are all " bugbears ". It seems that the roll20 is having problems with this. I modified one of the names and the sheet began to work. Probably it will serve to me, but I think the suport could look at this.
Yes; Roll20 will pick the first of all Characters named Bugbear to resolve @{Bugbear|Attribute}.
Silvyre said: Yes; Roll20 will pick the first of all Characters named Bugbear to resolve @{Bugbear|Attribute}. And this creates all the problem. A sheet is with the other macro. I'm changing the names. It would be nice if it were not necessary. I'm using "Bad Bugbear" or things like that, is solving. But I wish I could leave only "bugbear" for example.
1445449477

Edited 1445449738
If you don't expect to make many modifications to your Bugbears, you could look into using a single sheet and multiple tokens to represent mooks . You may want to change "ax" or "sickle" on that single sheet to "melee weapon" to make things more generic (or set up macros for multiple weapons to the sheet), but it may save you effort in the long run.
Silvyre said: If you don't expect to make many modifications to your Bugbears, you could look into using a single sheet and multiple tokens to represent mooks . You may want to change "ax" or "sickle" on that single sheet to "melee weapon" to make things more generic (or set up macros for multiple weapons to the sheet), but it may save you effort in the long run. Wow, very useful! Thank you!  This resolves the issue. I use a sheet and a number of tokens I wish and, the best, less work!