Click here to return to table of contents.
Dialogue Tree: Dialogue Speaker Socket
Extends: UObject
Proxy object that allows a speaking role to be referred to without knowing the actual Speaker Component that will fill that role.
Users will only need to interact with the Speaker Socket via blueprint, and then only to retrieve data. For example, the speaker socket can be accessed from Dialogue Events and Speaker Queries to retrieve the name of the target speaking role.
Contents
1. Data Attributes
The following are data attributes associated with the class.
SpeakerName
- Type: FName
- Access: Private
- Description: The name of the target speaking role.
2. Blueprint Callable Methods
The following methods can be called, but not overridden, via blueprint.
Get Speaker Name (BlueprintCallable)
/**
* Retrieves the speaker's name.
*
* @return FName, the speaker's name
*/
FName GetSpeakerName() const;