Entity - on Resurrect Section (Section) — Lusk

Addon: Lusk · Category: Section · Since: 1.3.1

Syntax

[execute|run] on [entity] resurrect[ion] [attempt] of %~entity%

Description

Runs the code inside of it when the provided entity dies and may have the opportunity to be resurrected. Will be called in a cancelled state if the entity does not have a totem equipped.

Local Variables that are: - defined BEFORE this section CAN be used inside of it. - defined AFTER this section CANNOT be used inside of it. - defined INSIDE this section CANNOT be used outside of it.

Examples

command /a:
  trigger:
    on resurrection of player:
      uncancel event

View source