Could it be that both methods are not working anymore or did you changed the keywords?
Because I want to make some entities not minable and indestructable, using setminable(false) works fine, but setdestructable(false) is not working...
get/setdestructable()
Re: get/setdestructable()
I also need that feature for my map I forgot to add it, and I can confirm that setdestructable doesnt work, but that setminable works, plz move to the bug reports
Re: get/setdestructable()
As an addition:
Because setdestructable is not working I decided to set the entity's health enormously high and discovered that sethealth() is not working as well.
Anyway you can use entity.health = x for that
Because setdestructable is not working I decided to set the entity's health enormously high and discovered that sethealth() is not working as well.
Anyway you can use entity.health = x for that
Re: get/setdestructable()
I thought entity.health had a max (the entity's initial health)drs9999 wrote:As an addition:
Because setdestructable is not working I decided to set the entity's health enormously high and discovered that sethealth() is not working as well.
Anyway you can use entity.health = x for that
Re: get/setdestructable()
yes when you said that I can remeber that I read that somewhere, too. But does not matter, it is working for values higher than max health
Re: get/setdestructable()
Oh, it was corrected to destructible, I will update it on the wiki once I repair it
Re: get/setdestructable()
Thanks. It is working now.