-
-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Passing object argument does not work any more in v11 #70
Comments
Arguments are not an Advanced Macros feature on Foundry V11, that became a core feature and the implementation is different from what Advanced Macros used to:
I don't intend on fixing macros broken by V11 changes, look for more help on #macro-polo channel on Foundry's discord. |
Thank you very much! I got access to the item5e parameter within the macro very nicely now with your guidance. When I set the same macro to Execute for Specific User then the macro does not run though - no console logs and no error messages or warnings for GM or player user, just nothing happens. That is a separate issue though. |
Hm, can you open another issue and share the entire macro? Just export the macro's data and upload it to the issue. |
Calling a macro with an argument like so used to work for me in v10:
macro.execute(item5e)
Now in v11.302 I’m getting an error inside the macro on the very first line just with this:
if (!args) return
The error:
The text was updated successfully, but these errors were encountered: