UKismetTextLibrary::TextFromStringTable

Attempts to create a text instance from a string table ID and key.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Kismet/KismetTextLibrary.h

Include

#include "Kismet/KismetTextLibrary.h"

Source

/Engine/Source/Runtime/Engine/Private/KismetTextLibrary.cpp

Syntax

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

Remarks

Attempts to create a text instance from a string table ID and key.

This exists to allow programmatic ‎look-up of a string table entry from dynamic content - you should favor setting your string table reference on a text property or pin wherever possible as it is significantly more robust (see "Make Literal Text").

Returns

The found text, or a dummy text if the entry could not be found.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss