ExtendDamageBorder

SUMMARY

ExtendDamageBorder

SYNTAX

ExtendDamageBorder(<DamageClass, cursor>)

ARGUMENTS

DamageClass (type:string)
The class name of the damage type the border belongs to.
cursor (type:string)
The filename relative to the project directory of the cursor to be shown.
The file must be in the project directory or in a subfolder.
Animated cursors are also possible.

DESCRIPTION

The job expects a click in a room. The room gets a thick border in the colour specified by the class. If two adjoined rooms have borders of the same colour, the borders in overlapping areas are not plotted thick. This is independent of possible doors.
Two rooms are adjoined if the distance of adjoined lines is at maximum half a pixel.
The rooms have to be plotted correctly, that is e.g. that rectangular rooms should not consist of five points.
Syntax Notation
[aaa]
aaa is optional (zero or one occurences)
(aaa|bbb)
aaa exclusive or bbb
(aaa)*
aaa may occur indefinitely often or may be omitted
(aaa)+
aaa may occur indefinitely often but at least once
(aaa)m..n
aaa may occur from m to n times