Skip to main content

WyrmSpinSettings

A class in Root.Township, Alta.Intelligence.Wyrms.

Wyrm action component for the spin action, with range and target weighting for ActiveSpin.

Constructors​

MemberWhat it is
WyrmSpinSettings()Unity makes components itself; use AddComponent or spawn a prefab instead of new.

Fields​

4 private and internal fields
MemberWhat it is
private float changeTargetMultiplierBacking field for ChangeTargetMultiplier.
private float hurtWeightingBacking field for HurtWeighting.
private float maximumRangeBacking field for MaximumRange.
private float sameTargetMultiplierBacking field for SameTargetMultiplier.

Properties​

MemberWhat it is
float ChangeTargetMultiplier { get; }Score multiplier when the target is not the wyrm's current one (default 0.1).
float HurtWeighting { get; }Weight of the hurt sense when scoring targets.
float MaximumRange { get; }Distance beyond which a target scores zero (default 20).
float SameTargetMultiplier { get; }Score multiplier when the target is the wyrm's current one.

Methods​

MemberWhat it is
protected override IAction GetAction()Returns the ActiveSpin action for these settings.

Used in​

Members of other types that take, return or hold a WyrmSpinSettings: