How do i restart my level when all players die
I have a command in where the game restart when a play dies which is great it works amazing now the problem with this is it restarts when ever any player dies so how do i make it so that why it checks how many players are left alive then restarts after all players or dead or one team is dead. Visuals are a lot better for me if any one has any thanks.
asked Oct 29 '15 at 01:40 AM in Blueprint Scripting
It's not hard to figure how to do it. In GameMode, keep in track number of players alive for each team (integer array?), when player spawns +1 and -1 when players dies. On event when player dies after -1 you check if number of players alive is 0, if it is you end the match (or round) and annouce winner and round point and restart game
answered Oct 29 '15 at 03:18 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here