Question what would be the code for healing a NPC for example that I spawned in.

Example I have 
entity.Spawn();
if (isWounded)
entity.StartWounded();

So when spawned, if the flag is wounded in the config, it does spawn wounded, and you hold E to revive like you would any player that is wonded.

WHat I want it to do is after, reviving, I want the NPC to then go to a knelling state, so they don't jsut start running around for example. I would also like to send a chat message that the NPC has been revived.

If the player decides to kill them I would like it to say in chat the custom message. 

The only part is I do not know how to make this happen, can anyone help?