I have problem and dont know how to solve it, cause events like:
Player - Player Any Player leaves the game with Any
just doesnt work for the players that leaves... i think it only works when someone win or get defeated and rest is still playing. When player just quit the game it do not trigger :/
Do you have some idea how to make it work?
I think Blizz will be fixing this in the next patch (speculation by me)... it's been an issue for a long time.
In one of my maps I had a boolean variable for each player called "Player has already left" and at the game beginning i would check every players status and set it to true for any players who's status is "Left the game" and false for "Is playing". Then run a periodic trigger every 5 secs that, for each player, would go through and check if their 'player has already left' variable is false and their status is left the game (meaning they just left the game and we caught it). If these conditions pass, it then would do w/e player removal stuff you need to do, and then set 'player has already left' for that player to be true.
The reason I haven't done a tutorial on this is because I assumed it would be fixed soon :D
Hey guys.
I have problem and dont know how to solve it, cause events like:
Player - Player Any Player leaves the game with Any
just doesnt work for the players that leaves... i think it only works when someone win or get defeated and rest is still playing. When player just quit the game it do not trigger :/ Do you have some idea how to make it work?
thanks in advance.
@Azzaaer: Go
I think Blizz will be fixing this in the next patch (speculation by me)... it's been an issue for a long time.
In one of my maps I had a boolean variable for each player called "Player has already left" and at the game beginning i would check every players status and set it to true for any players who's status is "Left the game" and false for "Is playing". Then run a periodic trigger every 5 secs that, for each player, would go through and check if their 'player has already left' variable is false and their status is left the game (meaning they just left the game and we caught it). If these conditions pass, it then would do w/e player removal stuff you need to do, and then set 'player has already left' for that player to be true.
The reason I haven't done a tutorial on this is because I assumed it would be fixed soon :D
But how do you do that? thats the thing i would like to know. :P
periodic trigger every x seconds
@b0ne123: Go
aaahhh... there is such thing as status == left the game... :)
thanks.