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.

Help with macro choose target window will not disappear

1532217379

Edited 1532235710
I have multiple macros that require that you pick a target for them. After choosing the target for the macro it prompts some inputs but the window asking for a target does not disappear and the chat will not display the results of the macro. Here is the code if someone could please let me know what  may be wrong with the code or if there may be a mistake that I have with settings for the game. &{template:default} {{name=Attack!}} {{Hit | Roll:=[[floor(((@{Skill}*3 + @{Luck})/2 + @{Weapon 1 Hit} + ?{Bonus Hit|0}) - ((@{target|Speed}*3 + @{target|Luck})/2 + @{target|Bonus Avoid}))]] | [[d100]]}} {{Critical | Roll:=[[floor(@{Skill}/2 + @{Weapon 1 Crit} + ?{Bonus Crit|0}) - @{target|Luck} - @{target|Bonus Dodge}]] | [[d100]]}} {{Damage Dealt:=[[(@{Strength} + @{Weapon 1 Mt.} + ?{Bonus Damage|0}) - @{target|Defense}]]}} {{Speed Gap:=[[(@{Speed} - @{target|Speed})]] Ignore now I found the issue  The issue was that there was an extra paranthesis in the beginning of the formula.  {{Hit | Roll:=[[floor(((@{Skill}*3   there is only supposed to be two paranthesis in this line but there are 3 by mistake.
1532270503
The Aaron
Pro
API Scripter
Fantastic!  Glad you got a solution.