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

Thing_Projectile2 is the same as Thing_Projectile and 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

Nuvolachalk.png 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.