Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
Impossible due to the laws of conversation of energy. You can not write program code to make mater physically appear anywhere let alone a script in a game. You will probably have to stick to cartoons where you can atleast draw an anvil crushing someones computer.
Did you mean "crash"?
If so then you can crash WC3 very easilly. Just create 2 regions and get a unit to ping pong between them on entering region events.
This however will only crash single cored CPUs, as multi cored CPUs can instantly alt tab out and terminate the process due to the single threaded nature of WC3. As all new CPUs for PCs have atleast 2 cores now this method of crashing is rather stupid.
The fact you want to make a map to crash or crush someone's computer is sad. This is not nice and unethical.
Actually, it is a call to Player(<0 U >15) that will cause a crash of WC3. The OS however will not be touched.
This gives you 2 options.
1. Infinite loop (eg 2 regions moving a unit into each other on an entry event)
2. Robustness failure in game data (EG Player(-1)).
Perhaps you have a really good reason to make it someone's computer to crash, is it ?
I think you're hosting a custom game and need to "kick" someone from the game (maybe?)
There are 2 methods of making that player leaves or "crash"
One is to use the simple action of "Game - Defeat" from Trigger Editor
This action is limited to that player only
Simple Kicking System
Setup Trigger
Events
Map initialization
Conditions
Actions
Set Players[1] = Player 1 (Red)
Set Players[2] = Player 2 (Blue)
Set Players[3] = Player 3 (Teal)
Set Players[4] = Player 4 (Purple)
Set Players[5] = Player 5 (Yellow)
Set Players[6] = Player 6 (Orange)
Set Players[7] = Player 7 (Green)
Set Players[8] = Player 8 (Pink)
Set Players[9] = Player 9 (Gray)
Set Players[10] = Player 10 (Light Blue)
Kicking Trigger
Events
Player - Player 1 (Red) types a chat message containing -kick as A substring
Conditions
Actions
Set PlayerNumber = (Integer((Substring((Entered chat string), 7, 7))))
Game - Defeat Players[PlayerNumber] with the message: You have been kicke...
Game - Display to (All players) the text: (Player + ((String(PlayerNumber)) + has been kicked.))
CRASHING SYNTAX
However, this method is totally different
It crashes the game (including all players at once)
Download both of the tests map to get a better understanding
The system works (even in big maps)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.