Ore deposits not detected with game.findentities
Ore deposits not detected with game.findentities
I tried to use game.findentities to increase the resources in a zone, but it didnt work.
Re: Ore deposits not detected with game.findentities
Could you be more specific?
We search for resources this way in two of our scenarios and it works.
We search for resources this way in two of our scenarios and it works.
Re: Ore deposits not detected with game.findentities
I used the tnt entity to destroy near a ore deposit, and I couldnt destroy it, it destroyed the trees, because I want to make the ore veins drop metal ores, and I doesnt work.
Re: Ore deposits not detected with game.findentities
Note, that the ore doesn't have health, so damage/die won't affect it. (I think it even writes error if you call it on entity without health).
If you want to remove it, you need to use the destroy() method, it can remove anything.
If you want to remove it, you need to use the destroy() method, it can remove anything.
Re: Ore deposits not detected with game.findentities
Oh sorry, move this to not a bug or delete itkovarex wrote:Note, that the ore doesn't have health, so damage/die won't affect it. (I think it even writes error if you call it on entity without health).
If you want to remove it, you need to use the destroy() method, it can remove anything.