destroy after death
Details
Kode wheel segment | Combat/Combat Properties/Health and Defences |
Style | Boolean variable |
Modifiers | None |
Primarily WHEN/DO | Both |
Pre-made brains that use it | Unknown |
Combat > Combat Properties > Health and Defences > destroy after death
Description
This tile is a Boolean variable. It determines whether the character will be removed from the world after it plays its death animation. Set to true the character will die, fall to the ground and then vanish with an accompanying visual effect. Set to false, the character will die, fall to the ground and remain there. Its brain will still be running, but it will no longer be interactable.
Example Code
WHEN [once] DO [destroy after death][=][true]
Modifiers
None
Other Uses
This is generally set in the brain properties menu. When creating a custom death sequence you will need to ensure you have this set to false or your character will be removed from the world before your kode can take effect.