• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

RemovePlayer()

Status
Not open for further replies.
Level 17
Joined
Jun 17, 2007
Messages
1,433
You're 'removed' from the game (any orders you give to units will have no effect). It uses the native RemovePlayer() to achieve this. The same happens when a player is defeated, although there are also a few other effects with CustomDefeatBJ(). It's not really anything special; anyone can do this with a single line of code.
 
Level 6
Joined
Jul 25, 2005
Messages
221
...and why did you post this? Is there a problem with it of some sorts?
If it's used as a resource or something in that manner, it should not be posted here.
 
Status
Not open for further replies.
Top