you should know that EVENT_UNIT_DAMAGED runs your trigger before the unit actually recieves damage. so you should run a 0.00 second timer and then block the damage in the callback function
okay then just use GetHandleInteger which will not cause any problems and will use structs. and again, i dont see a problem
i mean, if you are not an idiot, your map will not crash.
you dont need the private keyword for structmembers it is just more text. but you should make the struct private, what if someone has a struct called PB? 90% of my structs are called PB
what do you expect? you create a line, give him values and then run a method which creates a new line and has no values. so what should your code do?
if you want to reuse the values dont allocate a new line, but use the current (called this) so your members are called
this.fx
or even simpler...
omg i love you and hate you...
i love you because its awesome and well-coded.
but i hate you because i had the same idea just yesterday :/
+rep anyway
@aceheart:
the functions take a level argument, so your data can be more dynamic
->
set bj_lastCreatedGroup = g
call DestroyGroup(g)
set g = null
return bj_lastCreatedGroup
-.- tested it? it will return null since you destroyed the group before
any screenshots? any documentation?
why would i use TimerUltils? i dont see a point in that as i dont know TimerUtils and also like ABC, etc, because they are user-friendly and efficent. so i dont see a use in this system
looks like csdata with a bit more type-safety. but why use it? why throw away TT, ABCT, ABC and CSData?
and ive already got recycling, also with timers. and the unit recycling is not even a good idea in my opinion (if you have too many units, it will lag, its like memory leaks)
do you have to speak swedish? i only understood that you have a little problem with the NewGen.
maybe this will help you:
http://www.thehelper.net/forums/showthread.php?t=100855