![]() ![]() ![]() To spawn an actor without one, use the SpawnProjectile function instead. Note that this special requires the actor being spawned to have a SpawnID. ![]() But no matter how many scripts I try, when the enemy hits the projectile it wont hide or delete. ThingProjectile - ZDoom Wiki ThingProjectile 134:ThingProjectile (tid, type, angle, speed, vspeed) Spawns a projectile. When using this special on a linedef or a thing in UDMF, you can use the arg1str property to define a class name instead of the arg1 property to define a spawn number. MF7HITMASTER 0x00008000, // Same as HITTARGET, except its master instead of target. 178:ThingProjectileAimed (tid, type, speed, target, newtid) tid: Thing ID of the map spot to spawn the projectile at. MF7HITTARGET 0x00004000, // The actor the projectile dies on is set to target, provided its targetable anyway. So I'm making a project for school and to shorten the coding workload instead of making tons of enemy sprites I just made one, but i would use calculations to create clones to disperse them around the the game world (its 2d so only requires x and y coordinates). MF7AIMREFLECT 0x00002000, // Actor is directly reflected straight back at the one who fired the projectile. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |