- created a token called 'Lib:Utility'
- 'Lib:Utility' has an 'onCampaignLoad' macro
- inside this macro, I'm making this call:
Code: Select all
[r: defineFunction("RollDice", "RollDice@Lib:Utility")]
But, when I click 'onCampaignLoad' , i get this error:
I must be missing something obvious, but when I compare this campaign file to another prior one, I don't see any difference in setup, aside of course, from the token & macro names.
Error in body of roll.
Statement options (if any): r
Statement Body : defineFunction("RollDice", "RollDice@Lib:Utility")