FireCrossbowPL1: Difference between revisions

From Eternity Wiki
Jump to navigationJump to search
(Created page with "{{codepointer |description=Heretic Ethereal Crossbow basic attack. |usage='''FireCrossbowPL1''' |examples= From base/heretic/player.edf: Fire: CRBW D 6 A_FireCrossbowPL1...")
(No difference)

Revision as of 05:46, 19 April 2020

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