Skip to content

Player Natural Death

Runs when the player natural death interaction occurs for an eligible participant/entity in the plot. Natural Death excludes deaths with a direct or causing entity; broad Death includes more causes.

Event → Choose Operation → Player → Health & Combat → Player Natural Death. Configure with Dev access and compile.

Default Event Target has declared type player. Only values actually supplied by this event are available.

Use Game Values and Target Objects appropriate to this event. Unavailable event data reports an error rather than silently producing a usable default.

Event: Player Natural Death
Set Variable: Public String lastEvent ← "Player Natural Death"

Declare any Public destination first. Test by performing the described interaction in Play; some events require the matching entity/item/game context. Use the example as an observation handler, then replace it with your intended behavior.

Event mutations/cancellation must run while the original synchronous event is active. A Wait or suspension ends that opportunity. Captured event values can remain readable afterward. Check that participants still belong to Play before applying later actions. Repeated movement/interaction triggers can create many tasks if each starts detached work.

Events and targets · Control flow · Async calls

Reference identifier: player_natural_death.