Table of Contents

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

bool

LandSpeed

The NPC's speed on land, m/s.

public float LandSpeed

Field Value

float

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

float

TargetDepth

How far under the surface the target is, metres (0 at or above it).

public float TargetDepth

Field Value

float

TargetValue

How much the target matters, 0 to 1: the top of its threat table is 1.

public float TargetValue

Field Value

float

WaterMetres

Metres of water too deep to wade between the NPC and its target.

public float WaterMetres

Field Value

float