WIdget Interaction On server

I create a mod for Pavlov VR.
One of my mod features is, that player can claim Houses on the map.
To make this houses (and all inside) save of other players, there is a Widget in every house where the player can change settings for each other player in 3 states

  1. Red -no access to that house (palyer cant get inside)
  2. Yello -visit that house but no interaction
  3. full access -(player can do anything in that house

To realize that the house has 3 Lists (StringArrays)

  1. Player list the server Set this list after spawn and every time a player join the server
    add this list

2.Visitor list This list is setted by the Widget if you set a player state to yello the player
would be added to this list
BUT it dont work. The widget change the widget color of the palyer
correctly but it seams that widget and widget interaction is only client
side and the server dont get any date from it

What could be the Problem? How can i Replicate this widget inputs to the server

![3-Assign Button Functions|690x279]

It’s exactly as I thought.
The widget only exists only on the client side.
That means on the server, the array is still empty.

I have now done the following:
I created a reference to the PlayerProxy in the widget and called an event on the PlayerProxy client side.

In this call I enter the name to be added and the reference to the house where it should be added.
In the PlayerProxy, I call a second event on the player proxy which is executed on the server. In this call i pas all references from the first ProxyEvent.
Then I execute the addition with this event.

Works for me

This is the widget form Above but the add nodes are replaced by EventCall

Thats my PlayerProxy BP where i Call a second Event and do the add.

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