is there such a thing as item groups- do they leak?

afisakov

You can change this now in User CP.
Reaction score
37
my experience with unit groups makes me very wary of EnumItemsInRectBJ
but I do not know if there is such a thing as an item group to set it to so I can clean up the potential leak.
1) do item groups exist?
2) how do I use them to avoid a leak with this function?
 

Accname

2D-Graphics enthusiast
Reaction score
1,462
I do not recall there being item groups (but I may be mistaken, it has been years...). As far as I know there are no leaks with that method.
 

GFreak45

I didnt slap you, i high 5'd your face.
Reaction score
130
You should almost never use BJ's as a lot of them leak and all of them are inneficient
Each is a wrapper for other functions and none of them does anything so complex that it's worth all that
 

afisakov

You can change this now in User CP.
Reaction score
37
well, unithasitemoftypebj is pretty convenient, but besides that I rarely use them when writing jass, though I sometimes replace/sometimes leave wehn converting from GUI triggers
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top