Revision Difference
gameevent/flare_ignite_npc#549424
<cat>gameevent</cat>
<title>flare_ignite_npc</title>
<structure>
<realm>Shared</realm>⤶
<realm>Shared and Menu</realm>⤶
<description>
Called when a flare sets an NPC on fire.
</description>
<fields>
<item type="string" name="entindex">The <page text="EntIndex">Entity:EntIndex</page> of the ignited NPC.</item>
</fields>
</structure>
# Examples
<example>
<description>This is a basic template with the purpose of including all arguments / table variables to make it easily known which values can be accessed.</description>
<code>
gameevent.Listen( "flare_ignite_npc" )
hook.Add( "flare_ignite_npc", "flare_ignite_npc_example", function( data )
local entindex = data.entindex // The Entity:EntIndex() of the ignited NPC.
// Called when a flare sets an NPC on fire.
end )
</code>
</example>