[snippet] RefreshUI

Published: 2012-09-13 17:26
Edited: 2017-12-19 13:33
by Troll-Brain

Sometimes the unit interface needs to be refreshed in order to be displayed correctly.For example, try to change the xp of an unit like every 0.05 s without refreshing the ui, and with it.

Views: 13.6k

[Snippet] StringSize

Published: 2012-08-16 17:47
Edited: 2017-12-19 13:32
by Purgeandfire

This library will calculate the width of a string in pixels. This is used in word wrapping. I have updated my old library a bit. For those who don't know how to use it, try making a paragraph writt...

Views: 12k

BJObjectId

Published: 2012-09-03 08:42
Edited: 2017-12-19 23:39
by Aniki

BJObjectId - makes working with the default WE object-id(s) easierThe "default WE object-id(s)" are those automatically assigned to objects after creation in the editor, i.e: e000, A001, ...

Views: 2.1k

[Snippet] StringIndexer

Published: 2012-01-11 13:13
Edited: 2017-12-18 06:24
by Magtheridon96

This system generates an index for any string below 8191.Jass:I think it's quite nifty.Feel free to comment.

Views: 9.1k

[System] WordWrap

Published: 2012-08-17 01:02
Edited: 2017-12-19 12:40
by Purgeandfire

http://en.wikipedia.org/wiki/Word_wrappingThis is not as featured/precise as text editor word wrapping, but it does the job pretty well.The description is in the documentation. Here is more informa...

Views: 15.9k

[Snippet] FlyHeight

Published: 2012-08-05 10:08
Edited: 2017-12-19 23:35
by Magtheridon96

The documentation has a brief explanation as to why I made this.CodeDemoWhat do you think?

Views: 13.6k

[Snippet] AddSpecialEffectZ

Published: 2012-08-09 17:28
Edited: 2017-12-19 12:10
by Purgeandfire

Another simple snippet. It is the good ol' technique to make an effect have a Z-coordinate, allowing it to float Z units above the ground. It works by creating an invisible platform, adding the eff...

Views: 13.3k

[System] Heal

Published: 2012-07-09 13:36
Edited: 2017-12-19 12:07
by Magtheridon96

This system efficiently handles healing units instantly and over time.Demo CodeFeel free to comment..

Views: 21.4k

[Snippet] BufferEx

Published: 2012-08-05 10:11
Edited: 2017-12-19 11:39
by Magtheridon96

I was in need of something to make messages in Warcraft III pop out Type-writer style, and that would require a Buffer. And since I had some other things that needed to use a buffer (Like a Unit or...

Views: 9k

[System] Track

Published: 2012-07-24 16:51
Edited: 2017-12-19 11:32
by Purgeandfire

This manages trackable objects in such a way that it actually improves functionality and has an interface to make even the toughest projects very readable. It allows you to:- Create trackables for ...

Views: 14k