EventDeathType

Returns the DeathType of the victim from the OnPlayerDied or OnPlayerEarnedKill EVENT context.

Output

  • DeathType
<block type="EventDeathTypeCompare">
    <value name="VALUE-0">
        <block type="EventDeathType"></block>
    </value>
    <value name="VALUE-1">
        <block type="PlayerDeathTypesItem">
            <field name="VALUE-0">PlayerDeathTypes</field>
            <field name="VALUE-1">Melee</field>
        </block>
    </value>
</block>