InitPhoenixPL2

From Eternity Wiki
Revision as of 15:51, 23 April 2020 by Printz (talk | contribs) (Created page with "{{codepointer |description=Startup initialization phase of the Heretic powered Phoenix Rod attack. |usage='''InitPhoenixPL2''' |examples= From base/heretic/player.edf: Fire:...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Description

Startup initialization phase of the Heretic powered Phoenix Rod attack.

Usage

InitPhoenixPL2

Parameters

No parameters.

Examples

From base/heretic/player.edf:

 Fire:
   PHNX B 3 A_InitPhoenixPL2
 Hold:
   PHNX C 1 bright A_FirePhoenixPL2
   PHNX B 4 A_ReFire
 Powerdown:
   PHNX B 4 A_ShutdownPhoenixPL2
   goto Ready

Notes

Only callable from a player weapon state (or, unusually, from a player avatar actor). Sets weapon counter 0 value to 350 (which in Heretic means 10 seconds of firing).

You can just use WeaponSetCtr to achieve the same effect.

See also