okay but what's the alternative ?
For Strings i can indeed simply set it to null,
but if i remove an entity, how do i get removed all pointers pointing to this thing.
Let's say i had an entity, and 3 monsters who have this entity as a target pointer -
if i removed theentity, the pointers of the 3 monsters are not NULL but INVALID instead, and i'm searching for a way to remove things and remove their pointers as well.
I had another idea: setting on of the 8 flags to null, and let the things remove themselves when they are in their loop - is that a good idea, or how do you remove your entitis, that's what i'm looking for !
By the way, Thanks for the replies so far!