Jump to content
  • 0

New Monster Won't Spawn


Mad Dal 85

Question

I'm trying to get a monster to spawn when another monster dies.

 

I don't know where I am going wrong here. On normal death, nothing. If I use MDK in the console, the new monster spawn in but the items don't drop. *Confused* It's meant to spawn in on normal death as the first monster has no 'XDeath' in the decorate. Any suggestions on how to fix this?

 

(Screenshot of DECORATE below)

DECSS.png

Share this post


Link to post

9 answers to this question

Recommended Posts

  • 0

Try adding flag SXF_NOCHECKPOSITION

 

TNT1 A 0 A_SpawnItemEX("DoppelgangerSoul",0,0,16,0,0,0,0,SXF_NOCHECKPOSITION)

Edited by sluggard

Share this post


Link to post
  • 0

I'm trying to get it like on CF, you kill a Leg Assault Captain then a Leg Soul appears (though it doesn't always happen.)

 

That's what I'm trying to achieve, but on mine I want it to always appear. The first monster is a boss monster and when the player kills it, a lost soul type monster then appears to try and finish off the player. 

Edited by Mad Dal 85

Share this post


Link to post
  • 0

Tried it. Still won't work. It only works with MDK so something is not right here.

 

I had trouble getting the first monster to use Spring Mines so they injure player then I eventually got them to appear, but they wouldn't injure the player. But then I eventually got them to injure the player in the end. But getting this lost soul enemy to appear when the first monster dies is pretty annoying. Everything else in the DECORATE works, the smoke appears and so does the teleport fog. It's the lost soul monster itself won't appear. 😔 

Edited by Mad Dal 85

Share this post


Link to post
  • 0

I found another way to get it working. Not sure if it's the right way, but it works.

 

TNT1 A 0 A_ThrowGrenade("DGSoul",32,0,0,0) 

 

Just a shame the lost soul enemy is facing the direction of the first monster was looking at instead of at the player, but it appears. I just don't understand why it A_SpawnItemEX wouldn't work for a monster to spawn in. 🤔

Share this post


Link to post
  • 0

It is likely the original monster is blocking the new one from spawning.

 

So use the A_NoBlocking action on the original monster before doing the A_Jump which spawns the new monster.

 

 

Share this post


Link to post
  • 0

Tried it. Doesn't work.

 

Looks like I'll have to use the 'A_ThrowGrenade' action as that seems to be the only thing that works to get it to spawn.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...