RadiusDamage: Difference between revisions
From Eternity Wiki
Jump to navigationJump to search
(Created page with "{{Codepointer|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. |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...") |
(No difference)
|
Latest revision as of 14:25, 20 October 2024
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.