BasicAttacks
Attacks
The sequence of basic attacks to be used.
Type information:
Array of the type: Either String or RootInteraction
Reference to a RootInteraction asset
Randomise
Whether or not the basic attacks should be executed randomly, or run in the order they were defined in.
Type information: Boolean defaults to: false
MaxRange
How close a target needs to be to use a basic attack against them.
Type information: Number defaults to: 0.0
Timeout
How long before giving up if a target moves out of range while preparing to execute a basic attack.
Type information:
(Nullable) Either Number defaults to: 2.0 or String that matches the pattern: ^(-?Infinity|NaN)$
CooldownRange
A random range to pick a cooldown between basic attacks from.
Type information: Array of Number
InteractionVars
Interaction vars to modify the values in the interaction itself.
Type information:
(Nullable) Map of the following:
| Key | Type |
|---|---|
any String | Either String or RootInteraction |
DamageFriendlies
Whether or not basic attacks should be able to damage friendly targets.
Type information: Boolean defaults to: false
UseProjectedDistance
Whether to use projected distance instead of 3D distance for checking if in range of basic attacks.
Type information: Boolean defaults to: false
