Can I call campaign macros?

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
User avatar
jarquafelmu
Cave Troll
Posts: 35
Joined: Fri Dec 31, 2010 4:18 am

Can I call campaign macros?

Post by jarquafelmu »

Hi community! I was wondering if I can call a campaign macro the similar to the way that I call a macro from a token or a lib

Code: Select all

[MACRO("myMacro@this"):""]
Thanks.

User avatar
jfrazierjr
Deity
Posts: 5176
Joined: Tue Sep 11, 2007 7:31 pm

Re: Can I call campaign macros?

Post by jfrazierjr »

jarquafelmu wrote:Hi community! I was wondering if I can call a campaign macro the similar to the way that I call a macro from a token or a lib

Code: Select all

[MACRO("myMacro@this"):""]
Thanks.
Yes. CAMPAIGN and GLOBAL are also allowed as well as a token name and this after the @. This is NOT documented in [macro:], sooooo.... perhaps someone would update the wiki, preferably someone who has used this before and point out any limitations/requirements.
I save all my Campaign Files to DropBox. Not only can I access a campaign file from pretty much any OS that will run Maptool(Win,OSX, linux), but each file is versioned, so if something goes crazy wild, I can always roll back to a previous version of the same file.

Get your Dropbox 2GB via my referral link, and as a bonus, I get an extra 250 MB of space. Even if you don't don't use my link, I still enthusiastically recommend Dropbox..

User avatar
Scubba
Cave Troll
Posts: 90
Joined: Fri Oct 30, 2009 12:47 pm
Location: Oakland, CA

Re: Can I call campaign macros?

Post by Scubba »

Good catch for the wiki.

User avatar
jarquafelmu
Cave Troll
Posts: 35
Joined: Fri Dec 31, 2010 4:18 am

Re: Can I call campaign macros?

Post by jarquafelmu »

Thanks guys. After I written this post I was looking around and I saw the campaign name used someplace else so I was pretty sure that you could call a macro from the campaign list. But because it wasn't documented and because I haven't had an opportunity to check it yet; I wasn't sure if it would work. Thank you again.

User avatar
jarquafelmu
Cave Troll
Posts: 35
Joined: Fri Dec 31, 2010 4:18 am

Re: Can I call campaign macros?

Post by jarquafelmu »

jfrazierjr wrote:Yes. CAMPAIGN and GLOBAL are also allowed as well as a token name and this after the @. This is NOT documented in [macro:], sooooo.... perhaps someone would update the wiki, preferably someone who has used this before and point out any limitations/requirements.
Hey jfrazierjr, I tried using a token name in my macro location but it came up with this error:
Error running onTokenMove on lib:OnTokenMove 80 : Macros from other tokens are only available if the token name starts with "Lib:".
I was able to run a macro in the campaign location using the name and the campaign for the location.
Here is the macro name:
<img src="asset://cfd5e6bfb0ae22147ecaad834c2ad6a8" height="12" width="12"></img> Sawblades
And this is the location:
sawblade_curve_half_blood_gt
I am currently running Maptools 1.3b84 and Rumble's 5.1.1 framework but it would seem like this would be a maptools issue rather than a framework one.

Post Reply

Return to “Macros”