Hi guys,
I already have a script that can destroy a target by name but when I use the script it pretty much deletes all of the entities with that same name. Which is not what I want.
For example: a chicken object that can spawn eggs, lays 3 eggs and they are all called "egg" and all I want is to be able to delete the 2nd egg.
What are some ways to do this in openbor? Even though the chicken lays 3 eggs is there an id to these eggs or some sorta way to identify them?
I already have a script that can destroy a target by name but when I use the script it pretty much deletes all of the entities with that same name. Which is not what I want.
For example: a chicken object that can spawn eggs, lays 3 eggs and they are all called "egg" and all I want is to be able to delete the 2nd egg.
What are some ways to do this in openbor? Even though the chicken lays 3 eggs is there an id to these eggs or some sorta way to identify them?