Thing_Projectile2

From ZDoom Wiki

Jump to: navigation, search

void Thing_Projectile2 (int tid, int type, int angle, int speed, int vspeed, int gravity, int newtid)

Usage

This is the same as Thing_Projectile or Thing_ProjectileGravity, except you can give the new projectile a TID. Note that this function requires the actor being spawned to have a SpawnID. To spawn an actor without one, use the SpawnProjectile function instead.

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.
Personal tools