Reliably track individual players?

cesig

L1: Registered
Jan 20, 2008
4
0
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?
 

A Boojum Snark

Toraipoddodezain Mazahabado
aa
Nov 2, 2007
4,775
7,669
I can't think of a way to accomplish what you want, there isn't a whole lot that can be done with the player as an entity. Sadly, I could tell you in an instant how to do this back with the awesome TFC entities... still irks me that they made TF2 so rigid.
 

cesig

L1: Registered
Jan 20, 2008
4
0
I feel the same way! Remeber the Rock? That map was awesome. I can't wait for someone to make a TF2 ver.....oh wait...YOU CAN'T DO IT IN TF2.

Hopefully they'll open it up some in the upcoming patches.