Class PathTransferDef
Moves nearby path-following enemies to a destination, without requiring a damage hit.
public sealed class PathTransferDef : IAbilityAction
- Inheritance
-
PathTransferDef
- Implements
- Inherited Members
Constructors
PathTransferDef(string, PathDestinationDef, float, int, MechanicTargetDef)
Creates a nearest-first relocation action with Id ties.
public PathTransferDef(string id, PathDestinationDef destination, float range, int maxTargets = 1, MechanicTargetDef targets = null)
Parameters
idstringdestinationPathDestinationDefrangefloatmaxTargetsinttargetsMechanicTargetDef
Properties
Destination
Authored destination.
public PathDestinationDef Destination { get; }
Property Value
Id
Neutral event identity.
public string Id { get; }
Property Value
MaxTargets
Maximum distinct recipients per activation.
public int MaxTargets { get; }
Property Value
Range
Horizontal search radius, affected by actor range modifiers.
public float Range { get; }
Property Value
Targets
Eligibility within the global enemy faction, allowing enemy support transfers as well.
public MechanicTargetDef Targets { get; }