A_FireSTGrenade

A_FireSTGrenade[(string missiletype)] (deprecated)


Fires a projectile (a Grenade by default) at a slight upward angle compared to the player's view. The following two lines are equivalent:

    GRLG B 12 A_FireSTGrenade
    GRLG B 12 A_FireProjectile ("Grenade", 0, true, 0, 0, 0, -6.328125)

While A_FireSTGrenade can be used with other projectiles, it is advised to instead use A_FireProjectile with the pitch parameter.

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