Returns the value of one of the player's constants.

Format: Const(param_name)

Arguments:

Return type: Depends on specified hit parameter. See Details.

Error conditions: none

Details:

The following values of param_name return values specified in the [Data] group in the player's constants.

The following values of param_name return values specified in the [Size] group in the player's constants.

The following values of param_name return values specified in the [Velocity] group in the player's constants.

The following values of param_name return values specified in the [Movement] group in the player's constants.

Example:

trigger1 = Const(velocity.walk.fwd.x) > 4
; Triggers if the forward walking velocity is greater than 4.