I'm trying to put together a map with a nonstandard gameplay type, and I'm having issues. Specifically, I need to be able to track individual players based on who triggers what trigger. I've seen a tutorial on how to do this, but I haven't had much luck implementing the idea so far. But I've heard it works.
But even if I do implement this, how can I track when a player dies? I need to reset the triggers in case a player dies midway through, but I haven't found a way to do that.
Basically, I'm maintaining a list of players, and I need to remove dead players from that list. But I don't know how. I even tried to reset everything on respawn, but I couldn't figure out how to trigger stuff on respawn. Plus, if a player dies and logs out, the whole system is borked from then on out.
Ideas?
But even if I do implement this, how can I track when a player dies? I need to reset the triggers in case a player dies midway through, but I haven't found a way to do that.
Basically, I'm maintaining a list of players, and I need to remove dead players from that list. But I don't know how. I even tried to reset everything on respawn, but I couldn't figure out how to trigger stuff on respawn. Plus, if a player dies and logs out, the whole system is borked from then on out.
Ideas?