Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
AveryMaurice

Code to spawn out corpses?

Recommended Posts

So I need some code that would spawn out dead corpses of monsters, is there a function for this? If not does anyone have any methods of doing this? I checked the ZDoom Wiki and no luck.

Avery

Share this post


Link to post
Gez said:

You can either spawn living actors and kill them immediately, or you can spawn corpse actors. There are a few. Look at them here:
http://zdoom.org/wiki/Category:Gore

You will have to use a spawn function that uses class names rather than spawn numbers, obviously. See those two:
http://zdoom.org/wiki/Spawn
http://zdoom.org/wiki/SpawnSpot


Sorry I worded that badly, I mean, I need code that once I kill a monster, its body would dissapear.

Share this post


Link to post

I have a delay timer, in which after 200 ticks, the bodies will dissapear rather then just instantly. Thats the problem, I need code just to tell it to "remove this thing" rather then "remove this TID".

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
×