void CASW_Simple_Alien::ASW_Ignite( float flFlameLifetime, float flSize, CBaseEntity *pAttacker, CBaseEntity *pDamagingWeapon ) { if (AllowedToIgnite()) { if( IsOnFire() ) return; CEntityFlame *pFlame = CEntityFlame::Create( this, flFlameLifetime, flSize ); if (pFlame) { if (pAttacker) pFlame->SetOwnerEntity(pAttacker); pFlame->SetLifetime( flFlameLifetime ); AddFlag( FL_ONFIRE ); SetEffectEntity( pFlame ); } m_OnIgnite.FireOutput( this, this ); } }