Skip to main content

Documentation Index

Fetch the complete documentation index at: https://dev.docs.inworld.ai/llms.txt

Use this file to discover all available pages before exploring further.

Overview > Inworld Character Subsystem Class: UInworldCharacterSubsystem | Inherits from: UWorldSubsystem World subsystem for managing Inworld character interactions and conversations. This subsystem provides centralized management of Inworld conversation targets, character registration, and spatial queries for finding conversation partners. It tracks all active conversation targets in the world and provides utilities for distance and angle-based character selection.

Methods

Reference

GetCharacterData

GetCharacterData Blueprint Node

Examples

bool GetCharacterData(
    UDataTable* DataTableToSearch,
    const FName& CharacterID,
    FInworldCharacterConfig& OutData
)

Parameters

ParameterTypeDescription
DataTableToSearchUDataTable*
CharacterIDconst FName&
OutDataFInworldCharacterConfig&

Returns

Type: bool

GetClosestConversationTarget

Examples

UInworldConversationTargetComponent* GetClosestConversationTarget(
    const FTransform& Transform,
    float MaxDistance,
    float ToleranceAngle
)

Parameters

ParameterTypeDescription
Transformconst FTransform&
MaxDistancefloat
ToleranceAnglefloat

Returns

Type: UInworldConversationTargetComponent*

GetClosestConversationTargetToConversationTarget

GetClosestConversationTargetToConversationTarget Blueprint Node

Examples

UInworldConversationTargetComponent* GetClosestConversationTargetToConversationTarget(
    UInworldConversationTargetComponent* TargetCharacter,
    float MaxDistance,
    float ToleranceAngle
)

Parameters

ParameterTypeDescription
TargetCharacterUInworldConversationTargetComponent*
MaxDistancefloat
ToleranceAnglefloat

Returns

Type: UInworldConversationTargetComponent*

GetClosestConversationTargetToReticle

GetClosestConversationTargetToReticle Blueprint Node

Examples

UInworldConversationTargetComponent* GetClosestConversationTargetToReticle(
    APlayerController* PlayerController,
    float MaxDistance
)

Parameters

ParameterTypeDescription
PlayerControllerAPlayerController*
MaxDistancefloat

Returns

Type: UInworldConversationTargetComponent*

GetConversationTarget

Retrieves a conversation target by its unique identifier. GetConversationTarget Blueprint Node

Examples

UInworldConversationTargetComponent* GetConversationTarget(const FString& Id)

Parameters

ParameterTypeDescription
Idconst FString&The unique identifier of the conversation target to find

Returns

Type: UInworldConversationTargetComponent* Description: The conversation target with the specified ID, or nullptr if not found

GetConversationTargetMap

Retrieves the complete map of all registered conversation targets. GetConversationTargetMap Blueprint Node

Examples

const TMap<FString, UInworldConversationTargetComponent*>& GetConversationTargetMap()

Returns

Type: const TMap<FString, UInworldConversationTargetComponent*>& Description: Reference to the map of conversation targets (ID -> Component)