Skip to content

Order Gesture

Class · USeinOrderGesture : UObject

#include "Player/SeinOrderGesture.h"

can be subclassed in Blueprint

Turns a right-click or right-click drag into an order. By default a click gives a plain move and a drag lays out a line of the Drag Formation Tag across the drag. Create a Blueprint subclass and override Build Order for other drag shapes, such as a path or a box, then set it as the player controller’s Order Gesture Class.

Overridable in Blueprint, with a native default

Interpret a captured gesture into an order guide + nominated formation. Default: click → empty result (resolver’s default formation); drag → a line (start→end, or the full sampled path when bForwardFullPath) nominating DragFormationTag. Override (BP or C++) to author custom drag semantics.

FSeinOrderGestureResult BuildOrder(const FSeinOrderGestureInput& Input);

FGameplayTag DragFormationTag

Editable in class defaults · Blueprint read and write

Formation nominated for a DRAG order, mapped to a USeinFormation by the command broker resolver’s FormationsByTag. Default = NONE: a drag uses the project-wide Default Formation (Project Settings -> SeinARTS -> Formation). Set to FORCE a specific formation for this gesture.

bool bForwardFullPath · default false

Editable in class defaults · Blueprint read and write

True → forward every sampled drag point as the guide (path / spline orders). False (default) → forward just start + end (a straight line).