SetCanDamage( <can damage> )


Module: Damage
SP Only

Summary:

Set the candamage flag for this entity - this means that it can respond to notifies from bullets and grenade hits



Call this on:

script_model, script_origin or script_brushmodel



Example:

self SetCanDamage( true );



Required Args:

  • 1 : <can damage> The can damage flag