Garry's Mod Wiki

util.BlastDamage

util.BlastDamage

  util.BlastDamage( Entity inflictor, Entity attacker, Vector damageOrigin, number damageRadius, number damage )

Description

Applies explosion damage to all entities in the specified radius.

Arguments

1 Entity inflictor
The entity that caused the damage.
2 Entity attacker
The entity that attacked.
3 Vector damageOrigin
The center of the explosion
4 number damageRadius
The radius in which entities will be damaged.
5 number damage
The amount of damage to be applied.

Special Pages


Wikis

?

Render Time: 41ms

DB GetPage 5
Generate Html 6
SaveChanges (1) 18
Render Body 0
Render Sidebar 9