Skip to main content
Version: 1.0.0

Class AiIntentEntryExtensions

Namespace: OblivionMp.Sdk.Common.Ai
Assembly: OblivionMp.Sdk.Common.dll

Aims an AI order at an entity instead of a ref id.

public static class AiIntentEntryExtensions

Inheritance​

object ← AiIntentEntryExtensions

Inherited Members​

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Methods​

LocateAt(ref AiIntentEntry, EntityHandle)​

Sets the order's location to location.

public static void LocateAt(this ref AiIntentEntry intent, EntityHandle location)

Parameters​

intent AiIntentEntry

location EntityHandle

Target(ref AiIntentEntry, EntityHandle)​

Sets the order's target to target.

public static void Target(this ref AiIntentEntry intent, EntityHandle target)

Parameters​

intent AiIntentEntry

target EntityHandle

  • Methods
    • LocateAt(ref AiIntentEntry, EntityHandle)
    • Target(ref AiIntentEntry, EntityHandle)