top of page
Search

Dev Log#27: Returning to menu and keeping track of players.

I quickly created some functionality so that players can leave the game and return to the home screen.

This button will appear when the player clicks escape
This button will appear when the player clicks escape

This blueprint has its own C++ class that its parented to and that is responsible for binding the appropriate function to the multiplayer sessions plugin that handles the destruction of the session for the player.

This code is happening in a Tear Down function but instead of add dynamic I'm using remove dynamic.
This code is happening in a Tear Down function but instead of add dynamic I'm using remove dynamic.

Once the player leaves the elimination function is called but through the use of a boolean check to see if the player has left the game we only play the death effect for the character.

If the player has left the game PlayerLeftGame is called if not request respawn is
If the player has left the game PlayerLeftGame is called if not request respawn is

 
 
 

Comments


bottom of page