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

Trying to make character specific macros for 5 different players - every character can see every macro

Hi there, as mentioned in the title, I am trying to create a character specific macro for each player to bring up the languages they can speak - and then use a nested menu of options (based on their character sheet given to me) to bring up a list of the languages they speak. They will then be able to click on an option and write a message to that specific language. While I've finally nailed the methodology to do this, and the macro (appears) to be working, I am stuck on the next step - which is to make each character's "Language Macro" only visible for them as they click on their token. Currently, when a player clicks on their token, they are able to see the following: "Player 1 Languages", "Player 2 Languages", Player 3 Languages", ... When, ideally, they should only see: "Player 1 Languages"    ; and any other abilities they have set up. I have set each player's language macro to only be visible for that player, however it is still showing each other player's language macro. I would appreciate any tips or redirection for advice. Apologies if my post doesn't make sense, and sorry if this seems like a silly/simple question - I have tried to search for information elsewhere before posting.
1564737706

Edited 1564739323
GiGs
Pro
Sheet Author
API Scripter
You'll need to post the text of your macro (or macros) for anyone to be able to help.
The macro text is as follows: For example, Player 1's macro reads as /me &{template:default} {{name=Pathfinder Languages}} {{Languages Available=[Androffan](!13#Androffan) [Draconic](!13#Draconic) [Elven](!13#Elven) [Hallit](!13#Hallit) [Orcish](!13#Orcish) [Ratfolk](!13#Ratfolk)}} Player 2, 3, etc have similar macros with the languages they're able to speak. However Player 1 can also see the button for Player 2's macro, Player 3's macro etc when they select their token.
1564739263

Edited 1564739335
GiGs
Pro
Sheet Author
API Scripter
Oh, so you want to hide the text that appears in chat? You need to whisper the macro to the player. If Player 1's name is Bob, you want something like /w Bob &{template:default} {{name=Pathfinder Languages}} {{Languages Available=[Androffan](!13#Androffan) [Draconic](!13#Draconic) [Elven](!13#Elven) [Hallit](!13#Hallit) [Orcish](!13#Orcish) [Ratfolk](!13#Ratfolk)}} You can use either player or character name. 
1564739951

Edited 1564739978
GiGs
Pro
Sheet Author
API Scripter
Also, you might find the output looks nicer, if you omit the Languages Available=  part. If you are only showing one row (languages), you dont need the title, and this will use the space better: /w Bob &{template:default} {{name=Pathfinder Languages}} {{[Androffan](!13#Androffan) [Draconic](!13#Draconic) [Elven](!13#Elven) [Hallit](!13#Hallit) [Orcish](!13#Orcish) [Ratfolk](!13#Ratfolk)}}
No I've already made it so the text is hidden in chat (the /me command makes it only appear to the player using it) What I'm talking about is the token action button. Each macro I make can be made to act as a Token Action when a player selects their token on the board. I normally use this for stuff like initiative macros etc. However the issue I'm having is that while I intended this macro to be used as a token action for a specific player, each player is able to see the others' buttons as well as their own. In the picture below I have selected only one of the player tokens, however I am able to see the "Languages" macro of all the other players. I'd intended for only the intended player's macro to be visible.
1564742311
Gen Kitty
Forum Champion
You need to make the token action specific to each character, in each specific character's journa l.  Go to the Attributes & Abilities tab and make it an Ability, one per character, set to be a token action.
Ah I see, so I'd have to make the ability in the character journal, as opposed to making it in the macros section and then making it only visible to one player? Gotcha. Still getting the hang of this. Sorry for any confusion and thank you for the quick replies and suggestions!
1564742490
GiGs
Pro
Sheet Author
API Scripter
Are you viewing those tokens as the GM? They'll all show up for you, on every token, regardless of display settings. If you have set the Token Action properly for each macro, they should be viewable only by the correct player. If still having issues, can you show a screen shot of the token action settings of one of these macros?
1564742566
GiGs
Pro
Sheet Author
API Scripter
Gen Kitty said: You need to make the token action specific to each character, in each specific character's journa l.  Go to the Attributes & Abilities tab and make it an Ability, one per character, set to be a token action. The macros in this case are on the universal macro tab. This shouldnt be necessary, should it?
I had a go at Gen Kitty's instructions and it's turning out the way I want it to - though I still need a player to log in an confirm it works, as I've been having some trouble getting this whole "speaking in a specific language" using a series of macros to work. Gen Kitty  said: You need to make the token action specific to each character,  in each specific character's journa l.  Go to the Attributes & Abilities tab and make it an Ability, one per character, set to be a token action. I would have thought so as well, but by making it a token action from the universal macro tab, the macro became visible to every player that had a token, as opposed to individualised options.
1564743389

Edited 1564743633
GiGs
Pro
Sheet Author
API Scripter
I have just tested this. I have two alt accounts (had to create one for this test). Created two characters, assigned one each to each alt. Created two macros, set them as token actions, assigned each to one character. I'm only seeing each macro once, on each token when logged in as that account. Here's what I see when logged in as GM, and selecting either of the tokens. Here's what I see when log in as one of the alts and selecting its token: As you can see, only its token action is showing up.
1564743529
GiGs
Pro
Sheet Author
API Scripter
I wonder if this is due to the way roll20 hides the bottom of the edit macro tab, so you have to scroll down to the player selection options, and its not obvious you need to do this.
Ahhh I see. Given how intuitive a lot of the other information is, I didn't notice this. Thank you for the help and replies! :)
1564756639
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
I would suggest abilities in any case. If the characters are ever transmogrified or vaulted into a new game (say you want to run them through a module), the actions will go along with the character.