util.BlastDamage
util.BlastDamage( Entity inflictor, Entity attacker, Vector damageOrigin, number damageRadius, number damage, number damageType )
Description
Applies explosion damage to all entities in the specified radius. Performs line-of-sight checking. This a simpler version of util.BlastDamageInfo
This function will not deal damage to the
Hunter-Chopper type NPC. To deal damage, use the util.BlastDamageInfo function and add DMG_AIRBOAT to the damage type.Arguments
Example
Allow the Hunter-Chooper to take damage from explosions.
Garry's Mod
Rust
Steamworks
Wiki Help