# Alternative to this branching system..

**URL:** <https://forums.unrealengine.com/t/alternative-to-this-branching-system/1146556>\
**Category:** Blueprint\
**Tags:** unreal-engine, Blueprint, question\
**Created:** [April 27, 2023, 6:38pm UTC](https://forums.unrealengine.com/t/alternative-to-this-branching-system/1146556 "2023-04-27T18:38:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tom3BC](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tom3BC](https://forums.unrealengine.com/u/Tom3BC)\
**Post date:** [April 27, 2023, 6:38pm UTC](https://forums.unrealengine.com/t/alternative-to-this-branching-system/1146556/1 "2023-04-27T18:38:05Z")

</div>

Hi Unreal forum readers.  
I have a screenshot of my dialogue system in my game, and it sort of starts with checking which character is talking to set the right soundfont.

 ![Screenshot_156](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/4/9/949c68281270804ff1d1af66a57bbd1816bb7d05.png)

The problem is I fear this might be too costly to use a branch and a variable for each character in the game, and I’m sure there’s a better way but I’m still rather new at this.  
Don’t hesitate to ask me any questions on how I set it up.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [April 27, 2023, 6:43pm UTC](https://forums.unrealengine.com/t/alternative-to-this-branching-system/1146556/2 "2023-04-27T18:43:56Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/9/e/79efbcb5b7a30aa1851e4cc376e67b7c95d6b966.png)
