Is it possible to do this?
Basically I need to be able to attach a struct to a enumdestructable callback function.
My struct needs to be destroyed whenever there is a destructable of some type in range of a unit.
(This will be transfered from within a very fast timer towards the callback function of a customized enumDestructablesInCircle, I know it's slow but as of now I couldn't find a better solution)
How would I go about doing this? I have no idea to which handle I could attach the struct in order to transfer the data to the callback.
Basically I need to be able to attach a struct to a enumdestructable callback function.
My struct needs to be destroyed whenever there is a destructable of some type in range of a unit.
(This will be transfered from within a very fast timer towards the callback function of a customized enumDestructablesInCircle, I know it's slow but as of now I couldn't find a better solution)
How would I go about doing this? I have no idea to which handle I could attach the struct in order to transfer the data to the callback.