Overview
The Conversation Device is a Device in Unreal Editor for Fortnite, added in Update v32.00. This device is inaccessible in Fortnite: Creative, unless in a Edit Session for your UEFN Project.
Using This Device
Using This Device[]
When using this device it's important to note that the placement of this device determines where the speech bubble will appear; Placing this device slightly above your NPC is the most ideal position for placement.
In order for this device to work properly, you must create a Conversation Bank. This is where you will set up the flow of dialogue between the Player and NPC. You will also set up where conversation events will happen (e.g. - You accepted a quest or denied to help).
All Settings
All Settings[]
All default values have been Bolded.
| Option | Value | Description |
|---|---|---|
| Conversation Type | Radial, Box, Custom | Determines the style of UI displayed when this conversation is active. The Speaker Name is not displayed during a conversation when set to Radial. |
| Speaker Name | Speaker Name, {Custom Text} | Displays the speaker's name during conversation. This will not show if left blank. |
| Show Name When Nearby | True, False | When set to On, this displays the speaker's name when a player is nearby (roughly 5m). |
| Show Indicator Bubble | True, False | Determines whether or not the speaker displays a "speech bubble" indicator when in the Indicator Bubble Range. |
| Indicator Bubble Range | 5.0m, 0.0m - 25.0m | Determines the range at which a player will be able to see the speech bubble (in meters). If set to less than 5m and ShowNameWhenNearby is set to On, the player will not see an indicator speech bubble when 5 meters or closer. |
| Show Conversation Text in World Space | True, False | Will show conversation text in world space that is derived from that speech nodes in the Conversation Graph. |
| Number Of Conversations Allowed | 1, 1 - 100 | The number of conversations allowed to happen at once. |
| Conversation Maxed Name | Can't talk now, {Custom Text} | The text that will replace the Speaker Name when Number of Conversations Allowed is reached. |
| Conversation Maxed Color | FF0000FF, Select a Color | The color of the Speaker Name when Number of Conversations Allowed is reached. |
Conversation Settings
Modal Widget Settings
Modal Widget Settings[]
| Option | Value | Description |
|---|---|---|
| Custom Widget | None, Select a HUD Widget | Widget used when making custom Conversation Type. |
Functions and Events
Functions and Events[]
| Option | Description |
|---|---|
| Initiate Conversation When Receiving From | Forces the associated conversation to start for the player triggering this event. |
| Exit Conversation When Receiving From | Forces the current conversation to end for the player triggering this event. |
| Exit All Conversation When Receiving From | Leaves all conversations started by this device. |
| Enable When Receiving From | Enables the device. |
| Disable When Receiving From | Disables the device. |
| Option | Description |
|---|---|
| On Conversation Started Send Event To | Broadcasts a message when a new conversation is started |
| On Conversation Ended Send Event To | Broadcasts this event for this player when the conversation ends. |
| On Conversation Cancelled Send Event To | Broadcasts this event for this player when forced to exit a conversation early by Exit Conversation or Exit All Conversations being called. |
| On Any Conversation Event Send Event To | Broadcasts a message when any Event from the associated Conversation Graph is triggered during a conversation. |
| On Conversation Event One Send Event To | Broadcasts a message when an Event from the associated Conversation Graph is triggered for Event One. |
| On Conversation Event Two Send Event To | Broadcasts a message when an Event from the associated Conversation Graph is triggered for Event Two. |
| On Conversation Event Three Send Event To | Broadcasts a message when an Event from the associated Conversation Graph is triggered for Event Three. |
| On Conversation Event Four Send Event To | Broadcasts a message when an Event from the associated Conversation Graph is triggered for Event Four. |
| On Conversation Event Five Send Event To | Broadcasts a message when an Event from the associated Conversation Graph is triggered for Event Five. |
| On Conversation Event Six Send Event To | Broadcasts a message when an Event from the associated Conversation Graph is triggered for Event Six. |
| On Conversation Event Seven Send Event To | Broadcasts a message when an Event from the associated Conversation Graph is triggered for Event Seven. |
| On Conversation Event Eight Send Event To | Broadcasts a message when an Event from the associated Conversation Graph is triggered for Event Eight. |
| On Conversation Event Nine Send Event To | Broadcasts a message when an Event from the associated Conversation Graph is triggered for Event Nine. |
| On Conversation Event Ten Send Event To | Broadcasts a message when an Event from the associated Conversation Graph is triggered for Event Ten. |
This device can be found in Content Browser in the following path: /All/Fortnite/Devices/UI
conversation_device class
conversation_device class[]
using { /Fortnite.com/Devices }
| Inheriting | Description |
|---|---|
creative_object
|
Base class for creative devices and props. |
creative_device_base
|
Base class for creative_device.
|
| Name | Description |
|---|---|
enableable
|
Implemented by classes whose instances can be enabled and disabled. |
| Event Function | Type | Description |
|---|---|---|
OnConversationEvent
|
listenable(tuple(agent, int))
|
Signaled when a choice node tied to this event is selected by an agent. Sends the agent that triggered the event, and EventNumber is the number specified in the Conversation Event node.
|
SpeakerName
|
?message
|
The Speaker Name of the device. |
ShowNameWhenNearby
|
?logic
|
Whether the device will show the Speaker when nearby. |
ShowIndicatorBubble
|
?logic
|
Whether the device will show the Indicator Bubble when nearby. |
IndicatorBubbleRange
|
?float
|
The range that the Indicator Bubble will be seen at. Clamps to range[0, 25]. |
ShowConversationTextInWorldSpace
|
?logic
|
Whether the device will show conversation text in worldspace when using the Radial UI type. |
AllowedConversationCount
|
?int
|
Sets the number of conversations allowed at once with the device. This will not make any conversations exit if there are more current conversations than allowed after this call. |
| Function | Parameters | Description |
|---|---|---|
Enable
|
Enables this device. An enabled conversation device will listen for inputs and trigger conversations. | |
Disable
|
Disables this device. A disabled conversation device will not listen for inputs and trigger conversations. | |
IsEnabled
|
Check if the device is enabled. | |
InitiateConversation
|
Agent:agent
|
Begins the assigned conversation with the agent. The conversation will not start if the device or the agent are otherwise incapable of having a conversation.
|
IsAgentInConversation
|
Agent:agent
|
Check if an agent is in an active conversation.
|
CanInitiateConversation
|
Agent:agent
|
Check if an agent can initiate a conversation.
|
EndConversation
|
Agent:agent
|
Ends the assigned conversation with the agent.
|
EndConversationForAll
|
Ends all active conversations with this device. | |
GetActiveConversationsCount
|
Returns the count of currently-active conversations with this device. |