Quote:
Originally Posted by Arkshine
Even if it's not called often, if you can reuse the same entity, go for that. Is it possible to see an example of what you want to do, what entity you want to use etc.
|
I'm going to manage weapon health using func_breakable (on-hand, on-ground)
I need to choose the method to manage the quantity of weapons on map.
For example, if I'm going to create one breakable for each weapon in a map, for a 32 slots server, i would have around 64 entities but if you have unlimited buytime could be more.
So one way is to create one entity for each weapon but I'm not sure if it's the best way (the advantage with this is to store health and relations to real weapons on each entity).
When reusing entities, I need to store damage and relations in arrays.
I don't have this implemented yet so I don't have code to show.
__________________