## VASSAL Reference Manual

Home > Module > Map > Flare

### Flare

When added to a Map, this component allows a player to "send up a flare" at any location on the map in order to attract other players' attention. The flare is sent by clicking on the desired location while holding down a designated modifier key (or set of them). Flares can be used both in online games (where they are sent to other players connected to the server), and in PBEM games (where they are shown to players who replay the log file).

A Flare component is automatically added to every map, starting in VASSAL 3.5. Additional flares can be added if desired.

To add a Flare component to a map, navigate to the appropriate [Map] component in the Editor. Right-click on the Map component and select Add Flare. The new component will appear at the bottom of your map’s list of sub-components. You can then edit the properties for your new Flare.

Name:

  The name for the Flare, used to distinguish it among any others you add. The Flare’s name can also be referred to in the Report Format field, below.

Flare key/mouse combination:

  The combination of modifier keys and mouse click that will initiate this Flare. The default is Alt+Left Click, but a variety of other combinations can be selected.

  Note | the Ctrl+Click option is provided for modules which previously used a custom class to achieve the Flare effect with that key combination and would like to upgrade to the VASSAL Flare, but it is not the recommended keystroke combination as it conflicts with the standard Ctrl+Click to select/deselect UI convention._

Diameter of Flare circle in Pixels:

  This will be the pixel diameter of the Flare effect that is drawn on the map (or the maximum diameter if animation is selected).

Color of Flare circle:

  Allows the color of the Flare Circle to be specified.

Scale to map zoom level:

  If checked, the size of the Flare effect will vary based on the current zoom level of the map. If unchecked, the Flare will use a constant size at all zoom levels.

Pulses:

  Defines the number of "pulse" cycles the Flare will animate through when it is activated. If this value is zero, there will be no animation and the Flare will simply be a constant circle for its duration.

Pulses per second (0 for no animation):

  Defines the speed of the pulsing effect.

Report format:

  A message format to be displayed in the Chat Log when a Flare activates. Properties available to display in the message include the $PlayerName$, $PlayerSide$, and $PlayerId$ of the player initiating the Flare. The $FlareName$ can be referenced, as well as the $FlareLocation$, $FlareZone$, and $FlareMap$.

Configuring a Flare

A Flare appears as a pulsing circle.

===