Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • 0
noigs2015

Summoning a monster or resurrectind after dying

Question

Hey there. I haven't even tried this yet, but I want to know if it's possible. I would like that, after the player died, it summons a monster, and in other case that i'll work for, he'll resurrect. But I don't know how to do it properly right now, and the wiki isn't helping me, this is the closest result I found and I don't think that would work as I want. I know I can do some stuff with decorate at the resurrection moment, but don't know exactly what should I do.

Share this post


Link to post

2 answers to this question

Recommended Posts

  • 0

 

Just open the console, type resurrect and you will have the same result!! :D

 

okno, I really do not know if it is possible to resurrect the player, I have never seen something that does this, but spawning something when the player dies is relatively easy, you can make use of a_spawnitemex

https://zdoom.org/wiki/A_SpawnItemEx

 

Alter the player's death state by setting the a_spawnitemex, and it should work, this a example.

Spoiler

Death1:
    PLAY H 10
    PLAY I 10 A_PlayerScream

    PLAY J 0 A_SpawnItemEx("DeadMarine", 0, 0, 28, 0, 0, 0, 0);
    PLAY J 10 A_NoBlocking
    PLAY KLM 10
    PLAY N -1
    Stop

 

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
×