My problem is the following: I subcribed to the elimination event of the elimination_manager_device and modified the score of the eliminated player. My island has the round end on last man standing setting turned on. When I modifiy the player´s score on the elimination event it does not affect the current round which has ended because of the eliminated player. Is there some kind of event that would work for this scenario so I can modify the player´s score to affect the current ending round?
What you’ll generally have to do is not end the game using the built-in “Last Standing Ends Game”. Award the score to the eliminated player and then end the round if there is only one player left. I’m sure there are ways to detect player’s alive with Verse but you can also use a player_counter_device to do this as well.
Twin01 is right, the built in end game systems (island settings and end game devices) are a struggle to use when you have some code to trigger at the end since every devices gets disabled so fast (I’m thinking about Item Granters, Conditional Buttons, Score Managers for example)
For my island I use the
BadGuysTeamSettings.TeamOutOfRespawnsEvent.Subscribe(EndRoundManually)
The EndRoundManually
would then call a <suspends>
function that would end the round in 0.01s for example (depending on what you need to compute)
I’d end the round with
GoodGuysTeamSettings.EndRound() # Good guys won