Skip to content

SeinARTS Selection Library

Class · USeinSelectionBPFL : UBlueprintFunctionLibrary

#include "Lib/SeinSelectionBPFL.h"

Nodes for building selections: keep only the entities a player owns, or find every entity of one type.

The candidates PlayerID owns. Selecting needs no ownership, but commanding does, so filter a selection before issuing orders for it.

static TArray<FSeinEntityHandle> SeinFilterByOwnership(const UObject* WorldContextObject, FSeinPlayerID PlayerID, const TArray<FSeinEntityHandle>& Candidates);

Entities in the world holding the identity tag, for “select all by type” (double-click an entity to select every one like it). Entities out of the world are left out.

static TArray<FSeinEntityHandle> SeinSelectAllByType(const UObject* WorldContextObject, FGameplayTag IdentityTag);