Die / Revive / Spawn

I'm writing a BD tree where the Doctor Enemy Revives the enemies who are death. Die and Revive abilities are at the top of the list on every NPC.
What I want to accomplish is the typical behavior you find in lots of games where the NPC falls down dying waiting let's say 10 sec before the Doctor comes and Heals / Revives him.
I don't know if with the UCC2 workflow Die and Revive we can accomplish that or I need a different ability or something.
Now it some kinda works as the NPC fall down with the Die animation and if the Doctor comes quick he revives with the Revive ability ( animation BUT:
- Just after that it gets frozen for some seconds and...
- Then Respawns (I have the respawn script at let's say 10 sec) in the Start Location but that's not that I want it....

Any suggestions.... I may not doing it right.....
 
Last edited by a moderator:
This would be new logic within the behavior tree - when the character dies you can send out an event and other trees can list for that event. They can then decide if they want to go revive the character by seeking towards character's position.
 
Top