Thing_ProjectileGravity

From ZDoom Wiki
Jump to: navigation, search

136:Thing_ProjectileGravity (tid, type, angle, speed, vspeed)


Spawns a projectile and subjects it to gravity. Note that this special requires the actor being spawned to have a SpawnID. To spawn an actor without one, use the SpawnProjectile function instead.

  • tid: Thing ID of the map spot to spawn the projectile at
  • type: Type of projectile to spawn, from the list of Spawn numbers
  • angle: Byte angle of the projectile
  • speed: Horizontal speed of the projectile in units per 8 tics
  • vspeed: Vertical speed of the projectile in units per 8 tics (up is positive)
Personal tools
Namespaces
Variants
Actions
Navigation
ACS
DECORATE
ZDoom mods
Toolbox