A_FireCrossbowPL1

Shoots one CrossbowFX1 as a main projectile and two CrossbowFX3 that deviate from the main by an angle of 4.5°, one of the right, the other on the left.

A_FireCrossbowPL1
(no parameter)


The behavior of this function can be recreated by using A_FireProjectile:

A_FireProjectile ("CrossbowFX1", 0, 1, 0, 3)
A_FireProjectile ("CrossbowFX3", -4.5, 0, -2, 3)
A_FireProjectile ("CrossbowFX3",  4.5, 0,  2, 3)

This codepointer is restricted to Crossbow and derived classes.

Examples

This example is taken straight from the Crossbow from Heretic.

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

  
This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.