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

Merchant Macro for player

Hey everyone! I have a problem with my macro,i want player to be able to click on a token(a merchant) then click on a token action (the merchant's things for sale ) and then redirect them to a handout (the list of the things and the prices) Everything work fine but i have 2 problem First since i gave the players the permission to click the token to give them the token action , they can move the token all around the map And second the token action appear on every token they click Here is the video i followed <a href="https://www.youtube.com/watch?v=kNiwPx5V8GE" rel="nofollow">https://www.youtube.com/watch?v=kNiwPx5V8GE</a> and here is my macro :&amp;{template:default} {{name=@{selected|token_name}}} {{@{selected|bar1} [Click Here To Learn More](@{selected|bar1|max})}}
1578368258
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Things to check: Are all of the merchant tokens using a common merchant character? Is the macro set as an action on that sheet, and not a macro in the collections tab? Do players have control over the character? Did you use tokenlock or maplock to lock the token in place?
You can also use Dynamic Lighting and the Restrict Movement setting to box the merchant token into one place. This depends somewhat on your lighting needs for the map. Set some lights external to the "box" and a light within the "box" (or from the merchant token itself) so players can see around and within the box.
1578395245
Ziechael
Forum Champion
Sheet Author
API Scripter
Change your macro to: &amp;{template:default} {{name=@{target|Select a Merchant|token_name}}} {{@{target|Select a Merchant|bar1} [Click Here To Learn More](@{target|Select a Merchant|bar1|max})}} Then you shouldn't need to give your players control of the token, they just need to be able to see it.
Ziechael said: Change your macro to: &amp;{template:default} {{name=@{target|Select a Merchant|token_name}}} {{@{target|Select a Merchant|bar1} [Click Here To Learn More](@{target|Select a Merchant|bar1|max})}} Then you shouldn't need to give your players control of the token, they just need to be able to see it. Again Ziechael thank alot! It solved everything and thank everyone for the fast reply!
1578413503
Ziechael
Forum Champion
Sheet Author
API Scripter
Happy to help :)
Thanks!&nbsp;You just helped me kk