Posted By: ncc1701d
removing large sprite entities all at once - 02/12/10 05:57
is their a way to create and/or remove large number of sprite entities without naming them one by one in code.
Say I want to create a forest of sprite trees. They are all the same sprite just repeated but in different locations. Is there way to say plant them in many locations without refering to each tree code line by code line?
Is their a way to remove these entities all at once using ent_remove but many all at once as opposed to each one by one.
follow?
I can potentially imagine using random and ent_create to make more than one tree even if I dont know how yet but then what to do to rem_ entity all at once as opposed to one by one.?
thanks
Say I want to create a forest of sprite trees. They are all the same sprite just repeated but in different locations. Is there way to say plant them in many locations without refering to each tree code line by code line?
Is their a way to remove these entities all at once using ent_remove but many all at once as opposed to each one by one.
follow?
I can potentially imagine using random and ent_create to make more than one tree even if I dont know how yet but then what to do to rem_ entity all at once as opposed to one by one.?
thanks