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.
Blueprint nodes
Section titled “Blueprint nodes”Activate Ability With Inputs
Section titled “Activate Ability With Inputs”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 For Player
Section titled “Activate Ability With Inputs For Player”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);Trigger Ability From Action Slot
Section titled “Trigger Ability From Action Slot”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);