Page 1 of 1

[Rseding91] [1.0.0] Can't make an indestructible entity die()

Posted: Sat Sep 19, 2020 1:57 pm
by calcwizard
In the documentation for LuaEntity.die() it says "Doesn't care whether the entity is destroyable or damageable." This suggests that if a normally-destructible entity is made indestructible, it can still die(). However, if you try the following, the entity is not killed:

Code: Select all

some_entity.destructible = false
some_entity.die()
If this is the case, then either the documentation is inaccurate or there is a bug with die().

Thanks.

Re: [1.0.0] Can't make an indestructible entity die()

Posted: Sat Sep 19, 2020 4:57 pm
by Rseding91
Ok, I removed the part about 'damageable'.