Game ClockIt allows you format the time and get the elapsed time.
NoSaveGameIt prevents to use Save Game function to all players.
This simple snippet allows you to check for the walkability of the terrain between two points.
One of my favorite string scripts from Python. I can't live without it. StringStrip will strip the leading or trailing characters from a particular string. This is very, very useful for parsing. Ju...
A useful library which allows you to recycle units (even dead ones, but they must leave a corpse), avoiding yet another permanent 0.04kb memory leak for each future CreateUnit() call.Script
True and False BooleanExpressionsCredits goes to Vexorian for the first idea.Vjass versionZinc version
Useful snippet for preloading your map resources and avoiding duplicates in preloading.
This snippet is a replacement to the BJ function [lcode=jass]GetRandomSubGroup[/lcode] with the advantage of being able to directly enumerate random number of units in a group instead of creating a...
A simple snippet used to check if a unit is invulnerable. False positives from mana shields are also accounted for.
Useful system especially in making an MUI spell which uses timers. Instead of saving the spell data in a hashtable with the handleid of the timer as the parent key, you can just use normal arrays w...