View unanswered posts | View active topics It is currently Tue Mar 19, 2024 12:02 pm



Reply to topic  [ 6 posts ] 
 Resurrecting 
Author Message
User avatar

Joined: Sat Nov 10, 2012 3:31 pm
Posts: 114
Location: Australia
Reply with quote
Post 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
Profile WWW
User avatar

Joined: Sat Nov 10, 2012 3:31 pm
Posts: 114
Location: Australia
Reply with quote
Post 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
Profile WWW
User avatar

Joined: Sat Nov 10, 2012 3:31 pm
Posts: 114
Location: Australia
Reply with quote
Post 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
Profile WWW
User avatar

Joined: Sat Feb 26, 2011 10:29 am
Posts: 163
Reply with quote
Post 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
Profile
User avatar

Joined: Sat Nov 10, 2012 3:31 pm
Posts: 114
Location: Australia
Reply with quote
Post 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
Profile WWW
User avatar

Joined: Wed Jul 06, 2011 5:11 pm
Posts: 226
Reply with quote
Post 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


Sun Apr 02, 2017 3:57 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 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

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.197s | 17 Queries | GZIP : Off ]