03. Getting Started - dylogaming/Dialogue-Component GitHub Wiki
Step | Image |
---|---|
1. Add the Dialogue_Component to your character. |
|
2. Copy/paste the nodes from BP_DC_TPC into your character blueprint. |
Steps | Images |
---|---|
1. Add the Dialogue_Component to your NPC. 2. (Optional) Add a Camera component to your NPC. |
🎉 Setup is DONE. Go customize! 🎉
Steps | Preview |
---|---|
1. Select Dialogue Component Click on the “Dialogue_Component” within your NPC |
![]() |
2. Open & Add Branch Open “🌿 Dialogue 🌿” and click the (➕) button |
![]() |
The 🏁 START 🏁 variable is set to 1, meaning the dialogue will start at branch 1 | ![]() |
Since the branch is currently empty, make sure to add "1" to the Branch Name. Without this, the dialogue won’t start! | |
3. Add NPC & Player Text Add text under NPC Text: |
![]() |
Add a player selection under Player: | ![]() |
Note: Since there is only one choice and it's blank, the UI shows a green continue button, similar to the Legend of Zelda dialogue style | ![]() |
Adding even a single space in Player Text will bring back the choice format | ![]() |
4. Ending the Dialogue Set “End Dialogue?” to true to close the conversation: |
![]() |
Next time you interact, it will reopen at Branch 1. |
Description | Preview |
---|---|
1. Creating Multiple Branches Instead of ending our dialogue on Branch 1, set it to 2 and add a new branch titled “2” Repeat the previous steps, but now add two player responses The first response will continue the dialogue to Branch 3 The second response will end the conversation immediately and reset back to Branch 2 |
![]() |
2. Adding More Branches (3 & 4) Now, add two more branches named “3” and “4”: The first player response will loop the conversation back to Branch 1. To end the conversation, set “End Dialogue?” to true or follow the sequence to close the dialogue. The second response will continue to Branch 4, allowing the player to choose an “End Conversation” option. |
![]() |