Hitradius: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
hitradius <radius> <1> <2> <3> <4>
hitradius <radius> <1> <2> <3> <4>


This inflicts damage to [[actor]]s within the distance <radius> from the centerpoint. The damage is split into four sections, <1> being the section furthest from the center, <4> being the section closest to the center.
This inflicts damage to [[actor|actors]] within the distance <radius> from the centerpoint. The damage is split into four sections, <1> being the section furthest from the center, <4> being the section closest to the center.
 
You can put <code>[[ifhitweapon]] { [[ifwasweapon]] RADIUSEXPLOSION { <effect(s)> } }</code> into [[actor]] code to detect when a hitradius has been spawned.


[[Category:Duke3D 1.3/1.5 commands]]
[[Category:Duke3D 1.3/1.5 commands]]
[[Category:Sprite manipulation]]
[[Category:Sprite manipulation]]

Revision as of 15:23, 24 November 2006

hitradius <radius> <1> <2> <3> <4>

This inflicts damage to actors within the distance <radius> from the centerpoint. The damage is split into four sections, <1> being the section furthest from the center, <4> being the section closest to the center.

You can put ifhitweapon { ifwasweapon RADIUSEXPLOSION { <effect(s)> } } into actor code to detect when a hitradius has been spawned.