Strange Error (Resolved)

Discuss macro implementations, ask for macro help (to share your creations, see User Creations, probably either Campaign Frameworks or Drop-in Resources).

Moderators: dorpond, trevor, Azhrei, giliath, jay, Mr.Ice

Post Reply
flekhabren
Cave Troll
Posts: 29
Joined: Fri Aug 10, 2012 7:23 am

Strange Error (Resolved)

Post by flekhabren »

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]

flekhabren
Cave Troll
Posts: 29
Joined: Fri Aug 10, 2012 7:23 am

Re: Strange Error (Resolved)

Post by flekhabren »

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.

Post Reply

Return to “Macros”