Skip to content

Struct: EntityAIContext ​

  • Namespace: Global
  • Assembly: Dew.Core.dll
csharp
public struct EntityAIContext

Fields ​

NameDeclarationDescription
targetEnemyLastKnownPositionpublic Vector3? targetEnemyLastKnownPosition

Properties ​

NameDeclarationDescription
deltaTimepublic readonly float deltaTime { get; }Usually similar to aiInterval of this entity, but this can get longer if AI congestion control is active.
targetEnemypublic readonly Entity targetEnemy { get; }Get this entity's primary target enemy.
targetEnemyElapsedTimepublic float targetEnemyElapsedTime { get; }Get elapsed time since this entity chose its primary target enemy.

Maintained by the Shape of Dreams Modding Community