Garry's Mod Wiki

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.

Page Links


Special Pages


Wikis

?

Render Time: 79ms

DB GetPage 45
Generate Html 11
SaveChanges (1) 9
Render Body 0
Render Sidebar 11