Damage Zone Action
Name: damage
Attaches a damage zone to the object.
The Enter and Stay modules are automatically enabled upon setting any variable for them, otherwise are left disabled.
Flags
sphere: Use a sphere collider, otherwise defaults to box.
mesh: Use a convex mesh collider, otherwise defaults to box.
Variables
[ float ] sx: A size multiplier for the attached box colliders X size. The objects size is also used for this, so it’s not neccessary to set this.
[ float ] sy: A size multiplier for the attached box colliders Y size. The objects size is also used for this, so it’s not neccessary to set this.
[ float ] sz: A size multiplier for the attached box colliders Z size. The objects size is also used for this, so it’s not neccessary to set this.
[ float ] cx: A local space offset for the attached collider along the X axis.
[ float ] cy: A local space offset for the attached collider along the Y axis.
[ float ] cz: A local space offset for the attached collider along the Z axis.
[ float ] r: A scale multiplier for a sphere colliders radius. The average axis scale is also used for this, so it’s not neccessary to set this.
[ bool ] enterinstant: Whether the instant kill mode is enabled for the enter module. Defaults to false.
[ float ] enteramount: The damage setting for the enter module.
[ float ] enterinterval: The interval setting for the enter module.
[ bool ] stayinstant: Whether the instant kill mode is enabled for the stay module. Defaults to false.
[ float ] stayamount: The damage setting for the stay module.
[ float ] stayinterval: The interval setting for the stay module.