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: 40ms

DB GetPage 5
Generate Html 12
SaveChanges (1) 10
Render Body 0
Render Sidebar 11