Data Realms Fan Forums
http://forums.datarealms.com/

Resurrecting
http://forums.datarealms.com/viewtopic.php?f=73&t=46144
Page 1 of 1

Author:  omegadrace [ Fri Feb 10, 2017 8:48 am ]
Post subject:  Resurrecting

Is it possible to set an actor's health back up to 100 upon dying, or are actors that die permanently dead?

Author:  omegadrace [ Fri Feb 10, 2017 9:00 am ]
Post subject:  Re: Resurrecting

And would you believe it, I solved that by changing the status back to 0 and putting health back to 100 upon death. Now I just need to figure out how to restore the AI to it.

Author:  omegadrace [ Fri Feb 10, 2017 10:17 am ]
Post subject:  Re: Resurrecting

Triplepost, but only because I figured it out. It turns out I just had to set the Status to 3 when the actor is dead. Now I have an actor that resurrects itself after a short amount of time, retaining all wounds and such. :)

Author:  Xery [ Fri Feb 24, 2017 2:29 pm ]
Post subject:  Re: Resurrecting

omegadrace wrote:
Triplepost, but only because I figured it out. It turns out I just had to set the Status to 3 when the actor is dead. Now I have an actor that resurrects itself after a short amount of time, retaining all wounds and such. :)

But you can't recreate its lost limbs, unless you create a new actor.

Author:  omegadrace [ Fri Feb 24, 2017 3:08 pm ]
Post subject:  Re: Resurrecting

That is intentional. It dies permanently after several deaths or if the head/body gibs. Unfortunately, I seem to be having some difficulty preventing the player (and computer) from taking control of the actor during it's first dead moment. Every death afterwards functions correctly, but that first death seems to be causing some issues.

Author:  Pantera1993 [ Sun Apr 02, 2017 3:57 pm ]
Post subject:  Re: Resurrecting

Would you mind posting the code here? I'm working on something similar but not quite the same and need a bit of a push in the right direction. :P

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/