Non lethal Knock out mod

Post » Tue Jun 19, 2012 8:20 pm

don't even know why the thread showed twice
User avatar
Wayland Neace
 
Posts: 3430
Joined: Sat Aug 11, 2007 9:01 am

Post » Tue Jun 19, 2012 7:14 pm

I didn't know the asnwer to your question, and oddly enough the next thread I looked at provided the answer. Just update him. Like this.


Scriptname Example extends Actor

Event OnDying(Actor akKiller)

RegisterForSingleUpdate(300)

EndEvent

Event OnUpdate()

Reset()

EndEvent
User avatar
yessenia hermosillo
 
Posts: 3545
Joined: Sat Aug 18, 2007 1:31 pm

Post » Wed Jun 20, 2012 8:05 am

Hmmm. One potential problem with my solution is that the actor will get all of his things back. Don't know if you care about that.
User avatar
Gemma Woods Illustration
 
Posts: 3356
Joined: Sun Jun 18, 2006 8:48 pm

Post » Wed Jun 20, 2012 6:22 am

Thanks for the answer, yes i can be a potential issue...

Wonder how to fix this.

But thanks anyway.
User avatar
Marnesia Steele
 
Posts: 3398
Joined: Thu Aug 09, 2007 10:11 pm

Post » Wed Jun 20, 2012 7:59 am

EDIT: Never mind. Just remembered that your active effects are dispelled on death.

I think what you need is a perk and a spell. I've never made a perk though, so I'm not sure if it really is what you need.

First, you need to make a spell. Its magic effect should last something like 302 seconds, and the script should be something like this:

Spoiler
Scriptname Example extends ActiveMagicEffectint MyControlVarEvent OnEffectStart(Actor akTarget, Actor akCaster)	RegisterForSingleUpdate(1)EndEventEvent OnDying(Actor akKiller)	MyControlVar = 1	EndEventEvent OnUpdate()	if (MyControlVar == 0)		Dispel()	elseif (MyControlVar == 1)		MyControlVar = 2		RegisterForSingleUpdate(300)	else		Resurrect()	endifEndEvent


Now try making a new perk, and in the perk entries, add an entry with the entry point "Apply Combat Hit Spell". Select the spell as the one you just created. Conditions should be that the weapon has the keyword "WeapTypeMace".
User avatar
Andrew
 
Posts: 3521
Joined: Tue May 08, 2007 1:44 am

Post » Tue Jun 19, 2012 11:28 pm

Well, death is the only solution i found for " physic " interaction ( moving corpse around etc ) with the target.

Because there isn't a " ragdoll " mode in Skyrim, no ?
User avatar
Dan Wright
 
Posts: 3308
Joined: Mon Jul 16, 2007 8:40 am

Post » Wed Jun 20, 2012 5:38 am

There is a ragdoll mode. Things like Unrelenting Force will cause actors to go ragdoll without their having died.
User avatar
Kaylee Campbell
 
Posts: 3463
Joined: Mon Mar 05, 2007 11:17 am

Post » Wed Jun 20, 2012 10:09 am

Oh ! You're right.

I wonder how can i do that for my mod, and force them to stay ragdoll for a certain amount of time.
User avatar
Dustin Brown
 
Posts: 3307
Joined: Sun Sep 30, 2007 6:55 am


Return to V - Skyrim