A_FireArrow
From ZDoom Wiki
A_FireArrow (string proj)
Fires an actor of type proj, with a spread of up to 5.625°. This is affected by the player's accuracy: every two accuracy upgrade decreases the spread by half. The player using the calling weapon is then put in the Melee state for the relevant PlayerPawn class, if any, and the sound "weapons/xbowshoot" is played on the WEAPON channel.
This codepointer is restricted to StrifeCrossbow and derived classes.
Examples
|
Note: This article lists no examples. If you make use of this feature in your own project(s) or know of any basic examples that could be shared, please add them. This will make it easier to understand for future authors seeking assistance. Your contibutions are greatly appreciated. |