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?