RadiusDamage

From Eternity Wiki
Jump to navigationJump to search

Description

Explosion with different radius and actual damage.

Usage

A_RadiusDamage(damage, radius)

Parameters

  • damage: Maximum damage to inflict at the origin
  • radius: Maximum distance of the area effect. Damage will decrease linearly.

Examples

No examples given.

Notes

As with other radius attacks, the distance is Chebyshev, i.e. the maximum of x and y difference, so the area of effect is a square, not a circle (and it's infinitely tall). Beware when making large radii, as it will become noticeable.

This was introduced in MBF21. Eternity offers its own parameterized radius attacks too.

See also