I made a macro, you can see the code below, when I run it from the selection tab or impersonated tab it errors out with "Error in body of roll." at line [h: currentPP=getProperty("PP",myName)]
The strange part is if I copy the macro to multiple tokens and run it from the common macros area it will work for each token.
I have no clue how that could happen, anyone have thoughts?
It seems to be tied somehow to the getProperty function when I include a token identifier.
[Edit: code Removed]
Strange Error (Resolved)
Moderators: dorpond, trevor, Azhrei, giliath, jay, Mr.Ice
-
- Cave Troll
- Posts: 29
- Joined: Fri Aug 10, 2012 7:23 am
Re: Strange Error (Resolved)
Turns out the issue was because i had not made the macro a trusted macro and was using a feature of the getProperty macro that can only be used by a trusted macro.
disabled the ability for players to edit the macro and it works fine.
disabled the ability for players to edit the macro and it works fine.