SkullRodStorm

From Eternity Wiki
Revision as of 14:58, 24 October 2024 by Printz (talk | contribs) (Created page with "{{codepointer|description=Spawn powered hell rain drop. |usage='''A_SkullRodStorm''' |notes=Subtracts 1 health. If it still has health, there's a 25/256 chance it won't do anything else. Otherwise, it will spawn a thingtype of dehackednum 445-448 (rainplr1-3, depending on counter 1 value modulo 4) at the ceiling in a 64x64 square around the actor, transfer its projectile ownership, give it a -1 Z velocity, transfer the counter 1 value to it, and (once per 32 repeats, as...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Description

Spawn powered hell rain drop.

Usage

A_SkullRodStorm

Parameters

No parameters.

Examples

No examples given.

Notes

Subtracts 1 health.

If it still has health, there's a 25/256 chance it won't do anything else. Otherwise, it will spawn a thingtype of dehackednum 445-448 (rainplr1-3, depending on counter 1 value modulo 4) at the ceiling in a 64x64 square around the actor, transfer its projectile ownership, give it a -1 Z velocity, transfer the counter 1 value to it, and (once per 32 repeats, as counter 0 increments) sound 421 (ramrain).

If it no longer has health, then it looks at counter 1 (if multiplayer) to get player number, or just uses the only player, and clears its rain slot reference from this actor.

See also