Local Multiplayer Widget in Online Multiplayer

My long term goal is to have mixed Local and Online Multiplayer. Currently I have a widget that is shared with all Local Players and needs input from all local players. But this widget does not need to be seen by online players. So I came to a conundrum of where does this widget go. Gamestate? GameInstance?

1 Like

I’ve decided to put the widget on player 0’s player controller since the other local player controllers can talk to it. Input from all local player controllers passes into player0’s widget with index attached so the widget can decide logic based on which player used it.

There should be a variable isLocallyControlled

more details?

i know what it is. i meant, how are you implying i use it? what does checking locally controlled have to do with letting 2 players control one widget and where to store the widget?

Didn’t realize you were trying to have both local clients control the same widget, so not much actually, but if you were trying to have all local players (Split screen) have a widget and not the Wan connected client it’d probably be useful then

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.