From an eight month old thread: "World Editor Bug List & Solution"
http://www.wc3campaigns.com/forums/s...&threadid=7755
Quote:
Originally posted by Extrarius
GetLocalPlayer only desyncs when something is done that everybody needs to know about. There are quite a few things that work for individual players. My favorite is the EndGame function. It takes a boolen parameter that when set to false forces the local player out of the game and directly to bnet without a chance to see the score screen. I use that in my kick system to make it more brutal - it prevents the kicked player from seeing the score screen or getting any kind of message - the screen just flashes and up comes the bnet gui for them =-)
Everybody else just gets the stock player left message.
|
Replace defeat actions with GetLocalPlayer+EndGame?