# Branch with Game mode

**URL:** <https://forums.unrealengine.com/t/branch-with-game-mode/415476>\
**Category:** Blueprint\
**Tags:** gamemode, branch, checkbox, unreal-engine, score, Blueprint, question\
**Created:** [January 25, 2018, 1:00am UTC](https://forums.unrealengine.com/t/branch-with-game-mode/415476 "2018-01-25T01:00:22Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![SoulRunner](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SoulRunner](https://forums.unrealengine.com/u/SoulRunner)\
**Post date:** [January 25, 2018, 1:00am UTC](https://forums.unrealengine.com/t/branch-with-game-mode/415476/1 "2018-01-25T01:00:22Z")

</div>

I am trying to change my enemies between game modes for reasons such as score and sight radius for a certain mode. I am trying to make it so during one mode it does one thing and another mode does a different thing.

The issue is that even with the game mode being the same as the check, it never returns true.

My game mode is labelled Survival and the map is set to Survival through game mode override.

Can anyone help me with how to get this to work properly? This is a set up i have tried but it doesnt return true on either mode.

 ![228335-12421923ecd9bc38e27a68567ddb15a2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/d/7/ed798cdd01489e61a56de52c8c9c9f0422471e78.png)

---

<div class="post-metadata">

**Author:** ![xlar8or](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/xlar8or/32/710746_2.png) [@xlar8or](https://forums.unrealengine.com/u/xlar8or)\
**Post date:** [January 25, 2018, 1:14am UTC](https://forums.unrealengine.com/t/branch-with-game-mode/415476/2 "2018-01-25T01:14:00Z")

</div>

Hey there, is the game single player? The casts should be all you need, those branches before don’t really add much.

---

<div class="post-metadata">

**Author:** ![SoulRunner](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SoulRunner](https://forums.unrealengine.com/u/SoulRunner)\
**Post date:** [January 25, 2018, 1:21am UTC](https://forums.unrealengine.com/t/branch-with-game-mode/415476/3 "2018-01-25T01:21:10Z")

</div>

It is a single player game. I can’t branch the wires to both casts. When i wire one in without branches it removes the other one. I want both wired in so score works on both game modes.

---

<div class="post-metadata">

**Author:** ![xlar8or](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/xlar8or/32/710746_2.png) [@xlar8or](https://forums.unrealengine.com/u/xlar8or)\
**Post date:** [January 25, 2018, 1:32am UTC](https://forums.unrealengine.com/t/branch-with-game-mode/415476/4 "2018-01-25T01:32:42Z")

</div>

First you cast to survival, if it succeeds you add the score, if it doesn’t it goes through the cast failed, that is where you plug the cast to standard, if it succeeds you add the score aswell, it it doesn’t you can plug in to a cast of another game mode if you want.

Example:

 ![228336-gamemodes.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/5/4/b54b29b9f1047342d4206018d39b76811c2c262e.png)

---

<div class="post-metadata">

**Author:** ![SoulRunner](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SoulRunner](https://forums.unrealengine.com/u/SoulRunner)\
**Post date:** [January 25, 2018, 6:10am UTC](https://forums.unrealengine.com/t/branch-with-game-mode/415476/5 "2018-01-25T06:10:42Z")

</div>

Ah ok i get it now. Just tested it and it works 😃 Thanks for the help! Really appreciate it.

---

<div class="post-metadata">

**Author:** ![xlar8or](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/xlar8or/32/710746_2.png) [@xlar8or](https://forums.unrealengine.com/u/xlar8or)\
**Post date:** [January 25, 2018, 11:18am UTC](https://forums.unrealengine.com/t/branch-with-game-mode/415476/6 "2018-01-25T11:18:14Z")

</div>

Good to know ! Please mark my answer as correct to close it 🙂

---

<div class="post-metadata">

**Author:** ![SoulRunner](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SoulRunner](https://forums.unrealengine.com/u/SoulRunner)\
**Post date:** [January 26, 2018, 12:50am UTC](https://forums.unrealengine.com/t/branch-with-game-mode/415476/7 "2018-01-26T00:50:42Z")

</div>

I actually dont know how to. I have never used this forum before…
