My First Session Teaching Unreal
- Sean Firman
- Sep 21, 2016
- 2 min read
For my first session of teaching unreal engine I help, Isaac's group and Bartosz's group. For this session we covered a system to create dialogue trees. I created an example in which we created the process of think how the dialogue works. To do this we had to conceptualize the dialogue tree. For this I explained the idea first. So dialogue trees are a simple process. It works where A walks up to B and says Hi. B says Whats Up. Then A can now say Who are you, or Where are you. Then they have difference outcomes. B says I am Bob or We are in unreal engine. This is the basic idea of how the dialogue exchange works.
But the tree get complicated as we make more outcomes and possibilities. So the best practice was to plan a dialogue tree. So we first off made the dialogue tree so that I could explain the process of in unreal of how to work with the blueprints, and UMG which is unreal engines User Interface tool.

First off I went over how to create button elements and text boxs etc.
After that we then went into create the functions and scripts of the dialogue.

This is the basic layout of the tree, in which when we first start the dialogue tree we get the dialogue options for bob and the player we then create an event, in which we say if button 1 clicked and on screen 1 then got to screen 2. The idea is that we will have a screen for all the npc response's and player response and depending on player input they go to another screen or end dialogue.
That is how the dialogue tree works and set up it makes it easy for people to understand after a while and is easy to expand the outcome by adding more screens with more dialogue text, etc.
The last thing I went over was to create a NPC character who will trigger the dialogue so the player can interact with them.

No create a NPC we created a actor Blueprint in which when we overlap with a collision we allow the player to press E or which ever key and then create the dialogue UMG. This was the structure of how to make a dialogue system which the groups expanded upon this system and created their own images for all of their buttons.

Comments