A_FireCrossbowPL1
Jump to navigation
Jump to search
A_FireCrossbowPL1
(no parameter)
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.
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