Thing_Projectile

From ZDoom Wiki
Jump to: navigation, search

134:Thing_Projectile (id, type, angle, speed, vspeed)


Spawns a projectile. 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