Hello everyone, i want to make a turn based game, where players take turn to do a specific action, im abit familiar with the networking but i cant just figure this out. The way i tried to approach was to have a boolean variable inside the character BP, and then have an " on post login " inside game mode and get an array of the players logging in, but i still couldnt figure out how to access thought players and change their variable ? am i even on the right path ?
On Post Login passes you a reference to the player controller. Take that reference and cast to your specific controller class. Store that reference in a custom struct.
In the controller class create an event (Run on Owning Client). In the GM you can then use the controller reference in the struct to call the specific event.
PS: all of my code are in thirdpersonBP, will that matter ?, how can i make the controller communicate with the thirdpersonBP ?
Thankyou, it was very detailed video, i watched it already twice, and got my problem solved, for sure ill be watching it more, Thankyou
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.