# Switchable Party system setup

**URL:** <https://forums.unrealengine.com/t/switchable-party-system-setup/490533>\
**Category:** Character & Animation\
**Tags:** rpg, controller-setup, unreal-engine, question\
**Created:** [November 3, 2021, 1:21am UTC](https://forums.unrealengine.com/t/switchable-party-system-setup/490533 "2021-11-03T01:21:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![WBoden](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@WBoden](https://forums.unrealengine.com/u/WBoden)\
**Post date:** [November 3, 2021, 1:21am UTC](https://forums.unrealengine.com/t/switchable-party-system-setup/490533/1 "2021-11-03T01:21:12Z")

</div>

Hi there,

I ask anybody who would have an idea of a switchable setup from a menu. I’m aware that this would be a bit tricky due to the fact that its based off of a menu so I’ll try to explain the best I can.

I’ve setup 5 party members and 4 is your limit of how many characters you can choose and when you select another party members, you must unselect a different party member because if you have more than 4, there will be a dialogue saying “The number of participants in battle is over by _number amount_”.

Does anybody have an idea of what structure I could do for this?

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [November 3, 2021, 1:17pm UTC](https://forums.unrealengine.com/t/switchable-party-system-setup/490533/2 "2021-11-03T13:17:17Z")

</div>

> Does anybody have an idea of what  
> structure I could do for this?

Any reason this cannot be a simple array?

Check if it’s full before adding a new party member. When clicking, check if the array contains said party member. If it does not → add it; if it does → remove it.
