From ZDoom Wiki
Jump to navigation Jump to search

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.