FireCrossbowPL1

From Eternity Wiki
Revision as of 05:46, 19 April 2020 by Printz (talk | contribs) (Created page with "{{codepointer |description=Heretic Ethereal Crossbow basic attack. |usage='''FireCrossbowPL1''' |examples= From base/heretic/player.edf: Fire: CRBW D 6 A_FireCrossbowPL1...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Description

Heretic Ethereal Crossbow basic attack.

Usage

FireCrossbowPL1

Parameters

No parameters.

Examples

From base/heretic/player.edf:

 Fire:
   CRBW D 6 A_FireCrossbowPL1
   CRBW EFGH 3
   CRBW AB 4
   CRBW C 5 A_ReFire
   goto Ready

Notes

Must be called from a player weapon state. Subtracts ammo and shoots three projectiles:

  • one of dehackednum 434 (CrossbowFX1 in Heretic), straight ahead;
  • two of dehackednum 436 (CrossbowFX3 in Heretic), at 4.5 degrees left and right.

Each projectile autoaims independently if player autoaim is enabled.

See also