Area of Effect Tricks

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
Posts: 176
Joined: Thu Mar 28, 2013 6:55 pm
Location: United States

Area of Effect Tricks

Post by Tanthos »

Hello, fellow code wizards!

I am trying to decide how to go about coding a system to allow for area of effect to be hard-coded into the system. It need only be as simple a return as grabbing a list of token IDs, but sometimes it's hard to figure out how to do that. It's easy enough to pick a token as a central target and then get tokens within a certain number of squares. It's harder to figure out what tokens are affected by a line attack, or a cone burst. And what if you want to target an AoE from a point on the battle grid rather than from a token? Is there an easier way than having the player type in the exact location in X/Y into an input form?

Have any of you ever done/tried to put together some AoE targeting systems?

User avatar
Bone White
Great Wyrm
Posts: 1124
Joined: Tue Aug 23, 2011 11:41 am
Location: Cornwall, UK

Re: Area of Effect Tricks

Post by Bone White »

If you are going to be setting up your own macros to control this, you may find this post useful, and the one that follows it, as they contain two functions to help with dealing with angles in maptool.

Post Reply

Return to “Macros”