RealDocs

UKismetTextLibrary::TextFromStringTable

function Engine Blueprint Since unknown
#include "Kismet/KismetTextLibrary.h"
Access: public Specifiers: staticBlueprintPure

Description

Attempts to create a text instance from a string table ID and key, looked up programmatically at runtime.

Caveats & Gotchas

  • The header explicitly recommends against this for most cases: setting a string table reference directly on a text property or pin (via 'Make Literal Text') is more robust than looking it up dynamically by ID.
  • Displayed in Blueprint as 'Make Text from String Table (Advanced)' — the 'Advanced' suffix signals this is an escape hatch, not the normal workflow.
  • Returns a dummy/fallback text rather than throwing if the table ID or key doesn't resolve, so a typo in either string fails silently at runtime.

Signature

static FText TextFromStringTable(const FName TableId, const FString& Key);

Parameters

Name Type Description Default
TableId const FName The string table's identifier.
Key const FString& The row key within the table.

Return Type

FText

Example

Look up a table row dynamically C++
FText Greeting = UKismetTextLibrary::TextFromStringTable(FName("UIStrings"), TEXT("WelcomeMessage"));

Version History

Introduced in: unknown

Version Status Notes
5.6 stable

Feedback

Was this helpful?

Suggest an edit

Select a field above to begin editing.