They are functions that blizzard made to more easily use the blizzard native functions
some of them merely swap variables around... others perform mathematical equations, or allow you to input different variables... like a Location instead of X and Y coordinates..
one of them leaks .. (TriggerRegisterAnyUnitEvent)
generally .. don't use them unless you have to .. most often they are just a waste .. but usually all they do is take 1 more function to call a function which isn't that bad..
you can see exactly what the functions do in Newgen world editor by control clicking the BJ functions (they show up in red)
If you use NewGen, the BJ functions are marked in red, and when you look at them in the Function List, you'll see them with actual code that more or less calls native functions.
Some BJ functions are helpful, typically the mathematical ones because you really don't want to put down the whole formula over and over again.
The problem with BJ functions is that they call other functions, meaning it has to transfer the system over multiple functions, which can slow the game down enmass.
The commonly used BJ function, TriggerRegisterAnyUnitEventBJ, leaks because it passes a null boolexpr in TriggerRegisterPlayerUnitEvent call in that BJ function. To eliminate this problem, create your own TriggerRegisterAnyUnitEvent function and a ReturnTrue function that always returns true and use that function for the boolexpr instead of null. Null boolexprs leak.
BJ = Blizzard JASS I believe. Bassicly they call to other natives supposely to make your coding easier , which in some cases its true. But most its not.
Reddit, Slack, Google, Facebook, Instagram — these companies use our data — directly or indirectly — to train the next generation of AI language models. Yet, I don’t remember anyone asking our permission, and in doing so, these companies have proven the adage that customers’ data is their main...
Our new website went up early yesterday. Health Empowers You. 200 smoothie recipe guide and soon we will have detox, cognitive enhancement, weightloss teas and some coffee blends. https://healthempowersyou.net/products/smoothie-recipe-guide
It never fails that as soon as I say something about the bots they come back - this time they are under a whole new IP range - one thing in common though, Chinese!