QUOTE
Chui
Unit A - The unit getting broodling'ed
Unit X - Any unit in the game the player can't have.
Unit Z - Same as Unit X, but different unit
I see what you're saying... but.. how do you detect WHICH is Unit A, at WHICH location, from Which player, at the time?
QUOTE
Temp
What you could do is detect the exact moment the number of broodlings in the map increases (for each player), and then check if at that moment the hero has died as well.
I think that's the concept Chui is trying to do... not sure if it'll work, I'd have to test it. I have a feeling it won't.
But now that you put it that way... detecting broodlings sounds easy, it'd be VERY difficult for a plyer to glitch it on purpose (like... to the 1/12th second).
On MC:
Yea I was thinking that if a player owns a unit they shouldn't have... which is the easy part. But how would I detect WHICH Hero was stolen from WHICH player at WHICH location?
But... now that I'm thinking about it...
When you MC you don't KILL the unit... Hmm...
I suppose I can ALWAYS reset death count of all heroes - for all players to 0.
I guess MC can be found when:
-Player suffers 0 deaths of hero,
-switch is set that they HAVE a hero (set when they first summoned them),
-player commands 0 of that hero
Hmm.. that sounds EASY.. will that work?
Also, is there ANY other way a player can LOSE a hero, without suffering death of it? I don't believe MC counts as a kill/death.