Struct AISwimRiskInput
- Namespace
- FishMMO.Server.Implementation.World.SceneServer.AI
- Assembly
- FishMMO.Server.dll
The facts a chase across water is decided on.
public struct AISwimRiskInput
- Inherited Members
Fields
AlreadySwimming
Whether the NPC is already in the water.
public bool AlreadySwimming
Field Value
LandSpeed
The NPC's speed on land, m/s.
public float LandSpeed
Field Value
LeashShare
How far the target stands from the NPC's home, against how far the NPC may go: 1 is the leash.
public float LeashShare
Field Value
TargetDepth
How far under the surface the target is, metres (0 at or above it).
public float TargetDepth
Field Value
TargetValue
How much the target matters, 0 to 1: the top of its threat table is 1.
public float TargetValue
Field Value
WaterMetres
Metres of water too deep to wade between the NPC and its target.
public float WaterMetres