class
SetDestinationWaypoint
- 5 properties
- 4 functions
Extends AIActionHelperTask AIbehaviortaskScript AIbehaviorScriptBase IScriptable ISerializable
Properties
| Property | Type | Offset | |
|---|---|---|---|
refTargetType | EAITargetType | 0x48 | scripted |
findClosest | bool | 0x4C | scripted |
waypointsName | CName | 0x50 | scripted |
destinations | Vector4[] | 0x58 | scripted |
finalDestinations | Vector4[] | 0x68 | scripted |
Functions
void Activate(AIbehaviorScriptExecutionContext context)overrideRTTIre.Hooks.PlaceVoid( "SetDestinationWaypoint", "Activate;ScriptExecutionContext", (SetDestinationWaypoint_Activate x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct SetDestinationWaypoint_Activate( SetDestinationWaypoint self, AIbehaviorScriptExecutionContext context );Vector4 GetFinalDestination(AIbehaviorScriptExecutionContext context)RTTIre.Hooks.Place( "SetDestinationWaypoint", "GetFinalDestination;ScriptExecutionContext", (SetDestinationWaypoint_GetFinalDestination x) => { return re.Hooks.CallOriginal<re.msgpack.Vector4>(); } ); [Msgpack.Gen] public readonly partial record struct SetDestinationWaypoint_GetFinalDestination( SetDestinationWaypoint self, AIbehaviorScriptExecutionContext context );int GetLowestDistanceIndex(float[] distances)RTTIre.Hooks.Place( "SetDestinationWaypoint", "GetLowestDistanceIndex;script_ref<array<Float>>", (SetDestinationWaypoint_GetLowestDistanceIndex x) => { return re.Hooks.CallOriginal<re.msgpack.Int>(); } ); [Msgpack.Gen] public readonly partial record struct SetDestinationWaypoint_GetLowestDistanceIndex( SetDestinationWaypoint self, float[] distances );float[] GetDistances(Vector4 refVector)RTTI