FireCrossbowPL1

From Eternity Wiki
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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 angles of ±4˚30' (9˚ total spread).

Each projectile autoaims independently if player autoaim is enabled.

See also