0 Members and 1 Guest are viewing this topic.
obviously indexing is bugged and deindexing just plain doesn't work
you're better off just having IndexUnit and DeindexUnit functions
What about calling RemoveUnit? Your system would ignore units removed using RemoveUnit :/
http://www.hiveworkshop.com/forums/2254876-post17.htmlAlso hook are quite useless in the current state :- you can't use the function arguments of the hooked function, nor the returned value ...- if you want to use the hooked function inside the hook (and it's the case there) you have to do some silly stuff to avoid infinite recursivity.The only way where hooks are "useful" is for debug stuff.
Frankly i don't really remember how hooks are "compiled", so i could be wrong before.Anyway, that doesn't change my point of view about this resource (stated on hiveworkshop)Also what about units which are resurrected with an active spell such as the Paladin's one ?
Interesting, so such units trigger the summont event and it's equal to GetTriggerUnit ?Also you should null the "u" member on deallocate.
DId i've already said that i think this library is pointless ? :p
EDIT : And meh you're doing it wrong, i would expect that an unit keep the same data until it is removed of the game, even if it dies, and then revives.Actually it's not always the case. And the best way is to use the 'Adef' bug, so end of this resource ?
I'm not sure i understand what you meant, so i will wait for your update, but for now it sounds wrong on my ears.
Oftopic; I have been looking for this "Defend Bug", I really want to know what it is, and what you could use it for, but I can't find anything about it (all I find is people having problem with the cap of 10.0 for it in the object editor)
Started by Chriz.
Started by Kuhneghetz
Started by Callahan
Started by TeslaTrooper
Started by PitzerMike