HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Would this be even remotely useful?

06-16-2009, 04:09 PM#1
busterkomo
Basically a GroupUtils, but with forces instead:

Expand Library:
06-16-2009, 04:39 PM#2
Flame_Phoenix
You mean a group of forces ?
Well, I know 1 thing, this uses the return bug. Having in mind patch 1.23b will be out sooner or later, I advise you to find another solution that doesn't use it ...

Meanwhile... personally I intend to make a "StructGroup" ... so I think this may be useful for some people, however I don't need it right now.
Seems more useful then the Integer to Roman Script Vex made xD
06-16-2009, 04:59 PM#3
Opossum
Quote:
Originally Posted by Flame_Phoenix
Well, I know 1 thing, this uses the return bug. Having in mind patch 1.23b will be out sooner or later, I advise you to find another solution that doesn't use it ...
He could just use GetHandleId instead of H2I... not really much of an effort. Stop being afraid of 1.23b :)

Quote:
Originally Posted by Flame_Phoenix
Meanwhile... personally I intend to make a "StructGroup" ...
There is already something like "StructGroup" in the scripts section: SetModule, which puts all instances of a struct in a static array. If you want a "ForStructGroup" you can just loop through the array.

@OP: I don't know if forces feature the same bugs and leaks as groups but if they do then I could imagine this library to be quite useful actually.
06-16-2009, 06:11 PM#4
Flame_Phoenix
Quote:
There is already something like "StructGroup" in the scripts section: SetModule, which puts all instances of a struct in a static array. If you want a "ForStructGroup" you can just loop through the array.
An array is not a group which is why I would find this group force thing useful. And yes I would intend to use a LinkedList or SetModule.
06-16-2009, 07:21 PM#5
0zyx0
This script would not be useful because:
* There are very few times when forces have to be created dynamically.
* Refreshing forces is useless, since players can't be destroyed.