So you create a widget on client side only and add it to viewport client side only and that’s why we cant use Replications in widgets.
I tried to make an actor call’d “Server Actor” added it to game scene, made it replicated and added a array variable call’d “Ready” and made it replicated.
I have tried to call this actor from the widget but nothing seems to work.
I have tried:
- Call to Server that cast Multicast
- Call to Owning Client then to Server
- Server Directly
- Multicast Directly
- Not replicated at all
When i set it to Multicast directly the variable change on one client but all the others does nothing.
Anyone know an other trick i can use to make a lobby where you can select heroes and abilities, join teams and stuff like that with a ready check.
The Server Actor
The Widget