Best way to identify that player joined a team?
I'm looking through the events and I don't really see anything like "PLAYER_JOINED_TEAM" or something along those lines.
My initial reaction is to just keep a bool called inTeam or something, and every time PARTY_MEMBERS_CHANGED gets called update that variable (and if it changes, do whatever I need to do when the player first joins a team).
Any thoughts? Is there a better way that doesn't involve hooking a function that fires so frequently?
Thanks in advance!
|