A_SkullRodStorm

From ZDoom Wiki
Revision as of 22:18, 10 August 2009 by Gez (talk | contribs) (Created page with '{{DISPLAYTITLE:A_SkullRodStorm}} '''A_SkullRodStorm'''<br /> (no parameters) Decreases the calling actor's life by one point. If it becomes negative, the calling actor is remove…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

A_SkullRodStorm
(no parameters)

Decreases the calling actor's life by one point. If it becomes negative, the calling actor is removed from its target's RainTracker's scrutiny and then destroyed.

Otherwise, has a slightly above 90% chance of spawning at a random point (within 64 map units on both axes of the calling actor) on the ceiling a RainPillar with the target's player translation (this assumes that the calling actor used its special2 field to store its owner's player number), a minimal X velocity of one unit (to force the 2.5D physics engine of detecting collisions, as it ignores purely-vertical movement) and a downward Z velocity equal to the spawned projectile's normal speed. If the calling actor's special1 field is not equal to -1, this number is used as the index of a sound that is looped on the BODY channel.

This codepointer is restricted to HornRodFX2 and derived classes.