Skip to content

Sein Move To Proxy

Class · USeinMoveToProxy : UBlueprintAsyncActionBase

#include "Abilities/SeinMoveToProxy.h"

deterministic: safe in simulation code

Move To node for abilities: moves the ability’s unit to a destination and reports the outcome through its Completed, Failed, Waypoint Reached, Cancelled and Path Recomputed outputs. Once the move ends the node releases itself.

Moves the ability’s unit to Destination using its movement mode. Arrival distance is the unit’s Acceptance Radius in Navigation Data. Persistence sets what happens after arrival: Settle On Arrival ends the move and lets the unit be pushed aside, Hold Destination makes it walk back within its acceptance radius if pushed out, and Retain Exact Destination makes it return to the exact point.

Defaults: Persistence = ESeinDestinationPersistence::Settle.

static USeinMoveToProxy* SeinMoveTo(USeinAbility* Ability, FFixedVector Destination, ESeinDestinationPersistence Persistence = ESeinDestinationPersistence::Settle);

FSeinMoveToDelegate OnCompleted · passes FSeinMoveToResult Result

The unit arrived at the destination.

FSeinMoveToDelegate OnFailed · passes FSeinMoveToResult Result

The move could not finish. Failure Reason in the result says why.

FSeinMoveToDelegate OnWaypointReached · passes FSeinMoveToResult Result

The unit reached a waypoint on its route. The result gives the zero-based Waypoint Index and Total Waypoints.

FSeinMoveToDelegate OnCancelled · passes FSeinMoveToResult Result

The move was cancelled before finishing, as by Stop Movement.

FSeinMoveToDelegate OnPathRecomputed · passes FSeinMoveToResult Result

Fires each time the move commits a new route after the first, such as after a periodic route check, a blocked path or a lack of progress. The move continues, and Completed or Failed still fire normally. Use it to refresh route visuals. It does not fire for the first route.

C++ members (6)
  • void NotifyCompleted(); Observer callbacks invoked by USeinMoveToAction
  • void NotifyFailed(ESeinMoveFailureReason Reason);
  • void NotifyWaypointReached(int32 Index, int32 Total);
  • void NotifyCancelled();
  • void NotifyPathRecomputed();
  • void AbandonForSnapshotRestore(); Release this proxy while abandoning an old deterministic timeline (snapshot restore or module unload). Deliberately silent: no gameplay delegate belongs to a timeline that will never advance again. Safe to call more than once.