|
FAQ
• Search • Login
|
|
Page 1 of 1
|
[ 6 posts ] |
|
Author |
Message |
omegadrace
Joined: Sat Nov 10, 2012 3:31 pm Posts: 114 Location: Australia
|
Resurrecting
Is it possible to set an actor's health back up to 100 upon dying, or are actors that die permanently dead?
|
Fri Feb 10, 2017 8:48 am |
|
|
omegadrace
Joined: Sat Nov 10, 2012 3:31 pm Posts: 114 Location: Australia
|
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.
|
Fri Feb 10, 2017 9:00 am |
|
|
omegadrace
Joined: Sat Nov 10, 2012 3:31 pm Posts: 114 Location: Australia
|
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.
|
Fri Feb 10, 2017 10:17 am |
|
|
Xery
Joined: Sat Feb 26, 2011 10:29 am Posts: 163
|
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.
|
Fri Feb 24, 2017 2:29 pm |
|
|
omegadrace
Joined: Sat Nov 10, 2012 3:31 pm Posts: 114 Location: Australia
|
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.
|
Fri Feb 24, 2017 3:08 pm |
|
|
Pantera1993
Joined: Wed Jul 06, 2011 5:11 pm Posts: 226
|
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.
|
Sun Apr 02, 2017 3:57 pm |
|
|
|
|
Page 1 of 1
|
[ 6 posts ] |
|
Who is online |
Users browsing this forum: No registered users |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|