Discussion and Support

Skip to content

It is currently Sat Feb 24, 2018 8:51 am 

Forum rules

PLEASE don't post images of your entire desktop, attach entire campaign files when only a single file is needed, or generally act in some other anti-social behavior. :)

Reply to topic  [ 1 post ] 

Previous topic | Next topic 

  Print view

Author Message
Joined: Sun Feb 20, 2011 3:14 pm
Posts: 373
 Post subject: A macro or framework with D&D 3.5 list of spell token States
PostPosted: Sun Aug 14, 2016 12:42 am 
I currently have about 20 macro buttons on my campaign window that turn on/off states that identify spell effects.

Is there already a macro (maybe in a framework) that I can copy and edit that will pop up a window with a list of spells to select and add a state to the token? My campaign window is getting unwieldy with all these macro buttons.

Ideally, what I hope I can do is also add my current code to the above macro. When I use my macro, it also adds descriptive text to the portrait window that tells what the spell effect does. For example, my Mage Armor macro will add the state image to the token and adds the text "+4 AC" to the portrait window. The code looks like this:

[h: SelectedTokens=getSelected()]
[FOREACH(TokenID, SelectedTokens, " "), CODE:
{[h: NewState=if(getState("Mage Armor",TokenID)==1,0,1)]
[h: setState("Mage Armor",NewState,TokenID)]
[H: abort(0)]

I am hoping to do the same thing, but with a single macro that allows me to select which spell (State) I am adding to the token.

Display posts from previous:  Sort by  
Reply to topic  [ 1 post ] 

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 are 2 users online :: 0 registered, 0 hidden and 2 guests (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 2 guests

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

Style based on Andreas08 by Andreas Viklund

Style by Elizabeth Shulman