Kage Loop
Events
Time - Every 0.15 seconds of game time
Conditions
Actions
Set kagePoint = (kagePoint offset by (Real(kageCount)) towards (Angle from kagePoint to (Position of kageTarget)) degrees)
Set kageCount = (kageCount + 1)
If (All Conditions are...
This worked on Starcraft, not sure if it will on Warcraft III.
What you do is just place a invalid model like an Independent Command Center(?) and it will crash the game. Make sure it's invisible though. Map hacks can see invisible units, so it will crash their game.
It DOES leak. The only player group that does not leak is 'All Players'.
Yes, it might be little. But it all adds up to your other leaks and can later cause problems such as server splits.
There is no way to make something truly random.
How WE probably makes random numbers is probably using a value that is always changing such as time, and selects a 'random' number by using a formula involving time.
Build Unit Bot
Events
Unit - A unit Finishes training a unit
Conditions
Or - Any (Conditions) are true
Conditions
(Unit-type of (Triggering unit)) Equal to Shrine Level 1
(Unit-type of (Triggering unit)) Equal to Shrine...
Here's mine from a boss from a map I made.
Not all of the code though, of course. It wouldn't be worth fitting one post.
kotgSpecial
Events
Time - Every 5.00 seconds of game time
Conditions
GameON Equal to True
(Keeper of the Grove 0024 <gen> has buff...