Killing the player

Post » Wed Jun 20, 2012 6:29 am

I've almost finished my " suicide " mod for sad people out there, sadly i can't manage to find the correct way to kill the player using papyrus scripting.

It's probably easy, but well...

If someone knows, thanks.
User avatar
Sebrina Johnstone
 
Posts: 3456
Joined: Sat Jun 24, 2006 12:58 pm

Post » Wed Jun 20, 2012 4:27 am

Someone ?
User avatar
Ryan Lutz
 
Posts: 3465
Joined: Sun Sep 09, 2007 12:39 pm

Post » Wed Jun 20, 2012 10:31 am

Game.GetPlayer().SetActorValue("health", 0)

Should work.

Game.GetPlayer().KillSilent()

Should work too?
User avatar
jennie xhx
 
Posts: 3429
Joined: Wed Jun 21, 2006 10:28 am

Post » Wed Jun 20, 2012 6:31 am

Will give it a try. Thanks.
User avatar
no_excuse
 
Posts: 3380
Joined: Sun Jul 16, 2006 3:56 am

Post » Wed Jun 20, 2012 7:58 am

Worked flawlessly, thanks again.
User avatar
Robert Garcia
 
Posts: 3323
Joined: Thu Oct 11, 2007 5:26 pm


Return to V - Skyrim