util.BlastDamage

From Garry's Mod
Revision as of 12:22, 17 May 2014 by Robotboy655 (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 util.BlastDamage( )

Contents

Description

Applies explosion damage to all entities in the specified radius.

Arguments

Entity inflictor

The entity that caused the damage.

Arguments

Entity attacker

The entity that attacked.

Arguments

Vector damageOrigin

The center of the explosion

Arguments

number damageRadius

The radius in which entities will be damaged.

Arguments

number damage

The amount of damage to be applied.
Personal tools
Navigation