distance

This definition is used to define the parameters to use when calculating and displaying distances in imagecontrols.


Definition

<distance name="..." > <font > ... </font> <base > ... </base> <diagmult > ... </diagmult> <suffix > ... </suffix> <pointer > <type > ... </type> <mult > ... </mult> </pointer> </distance>

<distance name="..." >

 

<font > ... </font>

The font used to display distance calculations. (pointers, token paths, targeting arrows)

<base > ... </base>

The numerical distance that equates to a single grid square.

<diagmult > ... </diagmult>

The multiplier used to determine the numerical distance when travelling diagonally on a square grid.

<suffix > ... </suffix>

The string to append to distances before displaying distances to the user.

<pointer >

Specify multiplier for distances displayed for a specific pointer type

<type > ... </type>

The name of the pointer type to apply the multiplier to.

<mult > ... </mult>

The multiplier to apply to the distance display for this pointer type.

</pointer>

 

</distance>

 

Â