I have a probably convoluted setup for courting and then the ability to place a nest in my game, I’m still learning scripting with blueprints and don’t know a huge amount, and replicating for servers is still very new to me. I have everything I want working down to one small problem.
I have a variable that is checked when deciding if the player is allowed to place the nest. This variable is turned to true via the courting script; once successful the second player is given the ‘can place nest’ boolean as true.
The problem I’m having is that if the nest placing checks for ‘can place nest’ being true, the nest that is placed is only visible client side. If I don’t check for the boolean then it is visible for everyone (But I need this boolean to make sure the nest can’t be placed before the courting is finished).
This is the code that sets ‘Can Place Nest’ to true:
And this is the one that creates the nest actor after checking a bunch of variables: