Skip to content

SeinARTS Input Library

Class · USeinInputBPFL : UBlueprintFunctionLibrary

#include "Lib/SeinInputBPFL.h"

Nodes that submit ability requests as player commands, and that trigger an action-panel ability for the local selection.

Request an ability, with optional activation inputs, from this machine’s player for one exact entity. True means the request was submitted; authority and gameplay checks run when it executes. Selection is not involved. An AI controller or a scenario uses Activate Ability With Inputs For Player.

static bool SubmitAbility(const UObject* WorldContextObject, FSeinEntityHandle Entity, FGameplayTag AbilityTag, FSeinEntityHandle TargetEntity, FFixedVector TargetLocation, const FSeinAbilityActivationInputs& Inputs);

Activate Ability With Inputs as Player. A machine acts for its own player; a network host also for an AI-run player and for Neutral; a standalone game for any player. Otherwise nothing is submitted and this returns false.

static bool SubmitAbilityForPlayer(const UObject* WorldContextObject, FSeinPlayerID Player, FSeinEntityHandle Entity, FGameplayTag AbilityTag, FSeinEntityHandle TargetEntity, FFixedVector TargetLocation, const FSeinAbilityActivationInputs& Inputs);

Use an ability from the action panel for the local player’s selection. The focused unit acts when it has the ability, otherwise the first selected unit that does. The ability fires at once or opens its targeter, as it declares. False when nothing selected has the ability.

static bool TriggerAbilityFromActionSlot(ASeinPlayerController* PC, FGameplayTag AbilityTag);