DECORATE expressions

From ECWolf Wiki

Parameters in which normally take integer values in DECORATE may be full expressions. The standard mathematical operators are supported.

Mathematical Functions

  • cos(x) - Takes the cosine of the input (degrees).
  • frandom[identifier](min,max) - Returns a floating point number between min and max inclusive.
  • random[identifier](min,max) - Returns a number between min and max inclusive.
  • sin(x) - Takes the sine of the input (degrees).

Identifiers for random functions are optional.


  • health - Current health of the actor.
  • angle - Current angle of the actor in degrees.