Multiplayer Faction System
I’m developing a multiplayer faction system utilizing a structure to store all faction-related information. This structure is located in a Blueprint Component attached to the Game State. The component manages the structure using a Map of Strings (Faction Names) to Structs (Faction Info).
Faction Creation
The faction creation process is working smoothly with the following setup:
Widget (Button) → Player Controller (Custom Event; Server-Replicated) → Game State (Custom Event; Multicast) → Create New Faction.
Adding Members to a Faction
I’m encountering issues with adding new members to a faction. Despite trying various approaches, I haven’t found a solution yet.
I’ve attached screenshots to illustrate my current setup. Any advice or guidance would be greatly appreciated.