SpawnProjectile

From ZDoom Wiki

Jump to: navigation, search

void SpawnProjectile (int tid, string type, int angle, int speed, int vspeed, int gravity, int newtid);

Usage

Like Thing_Projectile, Thing_ProjectileGravity or Thing_Projectile2 specials, but instead of using a spawn ID you pass an actor's class name.

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