Skip to content

player_death_get_damage_type

Description

Writes the damage type from a death event into an out-variable.

Parameters

<dead_player> <number_out (damage type)>

  • <name> — required operand
  • {a|b|c} — choose one alternative
  • [ … ] — optional clause

Example

megalo
action player_death_get_damage_type dead_player damage_id

Example from HREK broken/1Flag_Boneyard.txt.

Supported Versions

VersionSupported
49Yes
73Yes
106Yes
107Yes
107 (MCC)Yes

See also action syntax.