RPTools.net

Discussion and Support

Skip to content

It is currently Sat May 25, 2013 10:14 am 






Reply to topic  [ 5 posts ] 

Previous topic | Next topic 

  Print view

Author Message
User avatar  Offline
Cave Troll
 
Joined: Fri Dec 31, 2010 4:18 am
Posts: 35
 Post subject: Can I call campaign macros?
PostPosted: Thu Feb 17, 2011 10:06 am 
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:
[MACRO("myMacro@this"):""]
Thanks.


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Tue Sep 11, 2007 6:31 pm
Posts: 5229
 Post subject: Re: Can I call campaign macros?
PostPosted: Thu Feb 17, 2011 11:40 am 
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:
[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..


Top
 Profile  
 
User avatar  Offline
Cave Troll
 
Joined: Fri Oct 30, 2009 11:47 am
Posts: 85
Location: Oakland, CA
 Post subject: Re: Can I call campaign macros?
PostPosted: Thu Feb 17, 2011 12:04 pm 
Good catch for the wiki.


Top
 Profile  
 
User avatar  Offline
Cave Troll
 
Joined: Fri Dec 31, 2010 4:18 am
Posts: 35
 Post subject: Re: Can I call campaign macros?
PostPosted: Mon Feb 21, 2011 2:35 am 
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.


Top
 Profile  
 
User avatar  Offline
Cave Troll
 
Joined: Fri Dec 31, 2010 4:18 am
Posts: 35
 Post subject: Re: Can I call campaign macros?
PostPosted: Thu Feb 24, 2011 2:56 pm 
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:
Quote:
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:
Quote:
<img src="asset://cfd5e6bfb0ae22147ecaad834c2ad6a8" height="12" width="12"></img>&nbsp;Sawblades

And this is the location:
Quote:
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Reply to topic  [ 5 posts ] 

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:

Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 5 minutes)
Most users ever online was 243 on Sun Nov 04, 2012 6:14 am

Users browsing this forum: No registered users and 1 guest





Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

Style based on Andreas08 by Andreas Viklund

Style by Elizabeth Shulman