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

spawn items when a monster die

Recommended Posts

I'm using Zdoom.
How can I do to make a monster spawn certain item each time hi dies?
I tried with "thing spawn no fog" comand, but the item is only spawned the first time the monster dies. If he is resurrected the item is not spawned anymore.

I really can't replace it with a zombieman, chainguner, shotgun guy or nazy and their respective droped items.

BTW, is there a way I can that monsters respawn only in a certain level via ACS or mapinfo?

Share this post

Link to post

It's kinda simple actually... Just give your monster a TID and then make it exexute a script when it dies then add a script like this

Thing_SpawnNoFog (monsterTID, ThingType, 0)
And that should do it.

Share this post

Link to post

I don't think it's possible to give an archvile-resurrected monster a special. The same goes for pain elemental-spawned lost souls and monsters from the icon of sin.

(btw, you use the special box on the thing, you dont need a script)

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