Call of Duty Script Documentation
radiusdamage(<origin>, <range>, <max damage>, <min damage>)
ModuleDamage
Summary
Does damage to all damageable objects within a given radius. The amount of damage is linear according to how close the object is to the radius
Example
radiusdamage(level.player.origin, 500,damager,damager);
Minimum Number of arguments: 4
1 : <origin> The centre of the damage.
2 : <range> The radius of the damage done.
3 : <max damage> The maximum damage done. This will be done to objects close to the origin
4 : <min damage> The minimum damage done. This will be done to objects at the edge of the damage sphere.
Number of optional arguments: 0
Return to Function List