Revision Difference
GM:PostEntityTakeDamage#527919
<function name="PostEntityTakeDamage" parent="GM" type="hook">
<ishook>yes</ishook>
<added>2020.03.17</added>⤶
<description>⤶
Called when an entity receives a damage event, after passing damage filters, etc.⤶
</description>⤶
<description>Called when an entity receives a damage event, after passing damage filters, etc.</description>⤶
<realm>Server</realm>
<predicted>No</predicted>
<args>
<arg name="ent" type="Entity">The entity that took the damage</arg>⤶
<arg name="ent" type="Entity">The entity that took the damage.</arg>⤶
<arg name="dmg" type="CTakeDamageInfo"></arg>
<arg name="took" type="boolean">Whether the entity actually took the damage. (For example, shooting a Strider will generate this event, but it won't take bullet damage.)</arg>
<arg name="took" type="boolean">Whether the entity actually took the damage. (For example, shooting a Strider will generate this event, but it won't take bullet damage).</arg>
</args>
</function>