When player would die, make event happenfake death

Post » Tue Feb 26, 2013 11:17 am

Is there a way to make it so that if the player receives damage that would be a killing blow, they are instead transported somewhere and healed? We are making a sort of dream world and are going to make the player die pretty much ;) But I don't want it to be an actual death, just leave the dream world type deal.

I would think OnDeath and OnDying would happen after the player is already dead, so not sure which functions to look into.
User avatar
Jade Muggeridge
 
Posts: 3439
Joined: Mon Nov 20, 2006 6:51 pm

Post » Tue Feb 26, 2013 9:31 am

Would this be a very specific event or just when the player randomly gets killed wherever?

It would be easier to script if it was a specific event. You would do something similar to the Thieves Guild quest or the Sanguine Daedric quest where the player is immobilized or blacks out. Though I'll be honest, I tried to see how they scripted the blacking out in the "Night to Remember" quest but couldn't find it.

As I type this answer it becomes more apparent to me that I don't know how to do this.
User avatar
Blackdrak
 
Posts: 3451
Joined: Thu May 17, 2007 11:40 pm

Post » Wed Feb 27, 2013 12:29 am

Lol, well thank you for the attempt, and it's start at least :) It will be a specific event though, well a specific place in a specific quest stage, but it's not going to be fully staged.
User avatar
Keeley Stevens
 
Posts: 3398
Joined: Wed Sep 06, 2006 6:04 pm

Post » Tue Feb 26, 2013 12:09 pm

In general I'd think you'd have a script that would call camera effects to black out and then move the player. The script would check for the player's health level during a specific quest stage or variable.
User avatar
Tom
 
Posts: 3463
Joined: Sun Aug 05, 2007 7:39 pm


Return to V - Skyrim