InitPhoenixPL2: Difference between revisions

From Eternity Wiki
Jump to navigationJump to search
(Created page with "{{codepointer |description=Startup initialization phase of the Heretic powered Phoenix Rod attack. |usage='''InitPhoenixPL2''' |examples= From base/heretic/player.edf: Fire:...")
 
No edit summary
 
Line 10: Line 10:
     PHNX B 4 A_[[ReFire]]
     PHNX B 4 A_[[ReFire]]
   Powerdown:
   Powerdown:
     PHNX B 4 A_[[ShutdownPhoenixPL2]]
     PHNX B 4 A_[[SubtractAmmo]]
     goto Ready
     goto Ready
|notes=
|notes=
Line 18: Line 18:
|seealso=
|seealso=
*[[FirePhoenixPL2]]
*[[FirePhoenixPL2]]
*[[ShutdownPhoenixPL2]]
*[[WeaponSetCtr]]
*[[WeaponSetCtr]]
}}
}}

Latest revision as of 01:29, 29 April 2020

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_SubtractAmmo
   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