Hitradius

From EDukeWiki
Revision as of 20:36, 24 February 2011 by Hendricks266 (talk | contribs)
Jump to navigation Jump to search

hitradius <radius> <1> <2> <3> <4>
hitradiusvar <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.

Commands with an additional "var" suffix take gamevars rather than constants or defined labels for their inputs. As an alternate short form, "varvar" can be dropped from these commands; for example ife serves an an alias for ifvarvare.