# Advanced Branch (if, else if, else)

**URL:** <https://forums.unrealengine.com/t/advanced-branch-if-else-if-else/338986>\
**Category:** Blueprint\
**Tags:** branch, unreal-engine, question, Blueprint\
**Created:** [November 19, 2015, 8:34am UTC](https://forums.unrealengine.com/t/advanced-branch-if-else-if-else/338986 "2015-11-19T08:34:20Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_30d87a84](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_30d87a84](https://forums.unrealengine.com/u/anonymous_user_30d87a84)\
**Post date:** [November 19, 2015, 8:34am UTC](https://forums.unrealengine.com/t/advanced-branch-if-else-if-else/338986/1 "2015-11-19T08:34:20Z")

</div>

Hello,

I’m asking you how does it is possible to create this maccro, to use it in blueprint :

![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/8/7/4873f559675a6b0e21367a1038ae7e6d154c4715.png)

---

<div class="post-metadata">

**Author:** ![Mhousse1247](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mhousse1247](https://forums.unrealengine.com/u/Mhousse1247)\
**Post date:** [November 19, 2015, 9:17am UTC](https://forums.unrealengine.com/t/advanced-branch-if-else-if-else/338986/2 "2015-11-19T09:17:58Z")

</div>

It’s better to create a new “Blueprint Macro Library” , and add your standard macros to it , so you can use your macro in other blueprint classes.

> **[File sharing and storage made simple](http://www.mediafire.com/view/s5eotaib8b2pm4q/017.PNG#)**
>
> MediaFire is a simple to use free service that lets you put all your photos, documents, music, and video in a single place so you can access them anywhere and share them everywhere.

> **[File sharing and storage made simple](http://www.mediafire.com/view/3gtv11leb4c3tyf/018.PNG#)**
>
> MediaFire is a simple to use free service that lets you put all your photos, documents, music, and video in a single place so you can access them anywhere and share them everywhere.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_30d87a84](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_30d87a84](https://forums.unrealengine.com/u/anonymous_user_30d87a84)\
**Post date:** [November 19, 2015, 9:37am UTC](https://forums.unrealengine.com/t/advanced-branch-if-else-if-else/338986/3 "2015-11-19T09:37:56Z")

</div>

I need the same maccro with pin, because thanks this functionnality, it will be possible to all different branch case :

- if, else
- if, else if, else
- if, else if, else if, else  
and so on.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_7206c359](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_7206c359](https://forums.unrealengine.com/u/anonymous_user_7206c359)\
**Post date:** [November 19, 2015, 1:05pm UTC](https://forums.unrealengine.com/t/advanced-branch-if-else-if-else/338986/4 "2015-11-19T13:05:21Z")

</div>

i would like to add that you should not try to rebuild the switch node  
picture link is broken for me too, so ill just post the link to the switch node dokumentation  
[https://docs.unrealengine.com/latest/INT/Engine/Blueprints/UserGuide/FlowControl/index.html#switchnodes](https://docs.unrealengine.com/latest/INT/Engine/Blueprints/UserGuide/FlowControl/index.html#switchnodes)  
maybe this will help you to improve the blueprint and it has as many output links as you like

---

<div class="post-metadata">

**Author:** ![Colory\_Games](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Colory\_Games](https://forums.unrealengine.com/u/Colory_Games)\
**Post date:** [September 24, 2022, 2:05am UTC](https://forums.unrealengine.com/t/advanced-branch-if-else-if-else/338986/5 "2022-09-24T02:05:04Z")

</div>

Sorry for digging the old post.  
Recently, we released the code plugin which realizes the if-elseif-else statement by only one node.

> **[Advanced Control Flow in Code Plugins - UE Marketplace](https://www.unrealengine.com/marketplace/en-US/product/advanced-control-flow)**
>
> Custom Blueprint nodes to realize the complex control flow

I hope this plugin meets the requirement.
