HytaleDocs
Misc

RootInteractionSettings

Cooldown

Cooldowns are used to prevent an interaction from running repeatedly too quickly.

During a cooldown attempting to run an interaction with the same cooldown id will fail.

Type information:

(Nullable)

InteractionCooldown with the following properties:

KeyTypeDescription
Id(Nullable) String

The Id for the cooldown.

Cooldowns can be used on different interactions but share a cooldown.

Cooldown(Nullable) Either Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$

The time in seconds this cooldown should last for.

Charges(Nullable) Array of Number

The charge times available for this interaction.

SkipCooldownResetBoolean defaults to: false

Determines whether resetting cooldown should be skipped.

InterruptRechargeBoolean defaults to: false

Determines whether recharge is interrupted by use.

ClickBypassBoolean defaults to: false

Whether this cooldown can be bypassed by clicking.

AllowSkipChainOnClick

Whether to skip the whole interaction chain when another click is sent.

Type information: Boolean defaults to: false

On this page