Reanimation on Swords

Post » Mon May 16, 2011 11:35 pm

I tryed to enchant a sword with reanimation, Thinking i could kill an npc with the blade and slash its corps -- reanimating it.
but it didnt work. its just a regular blade with a yellow glow thats doing nothing.

So i was wondering if any of you would have an idea of how the reanimation enchantment could work on weapons.
maybe through various scripting or some other work around. Idk....

looking forward to hearing from you all.
User avatar
Cash n Class
 
Posts: 3430
Joined: Wed Jun 28, 2006 10:01 am

Post » Tue May 17, 2011 6:36 am

anyone got any ideas? I mean this would be a cool thing.
User avatar
Stephanie Nieves
 
Posts: 3407
Joined: Mon Apr 02, 2007 10:52 pm

Post » Tue May 17, 2011 1:50 pm

Ok so what i've done is make an addspell script on equip but it not as cool as slashing people to life... HELP ME!
User avatar
FITTAS
 
Posts: 3381
Joined: Sat Jan 13, 2007 4:53 pm

Post » Mon May 16, 2011 11:57 pm

THIS FORUM svck!
User avatar
Joe Bonney
 
Posts: 3466
Joined: Tue Jul 17, 2007 12:00 pm

Post » Tue May 17, 2011 1:55 am

THIS FORUM svck!

Calm down. :laugh: The reason you're not getting a response is then nobody knows how to get that to work.
User avatar
Roberta Obrien
 
Posts: 3499
Joined: Tue Oct 23, 2007 1:43 pm

Post » Tue May 17, 2011 3:03 pm

I tryed to enchant a sword with reanimation, Thinking i could kill an npc with the blade and slash its corps -- reanimating it.
but it didnt work. its just a regular blade with a yellow glow thats doing nothing.

So i was wondering if any of you would have an idea of how the reanimation enchantment could work on weapons.
maybe through various scripting or some other work around. Idk....

looking forward to hearing from you all.

You could try (in a script on a weapon) checking if the person equipping the weapon is attacking, checking if there is a corpse under the crosshairs (needs OBSE), and running the resurrection script on the corpse reference if the distance from the player is less than the reach of the weapon.
User avatar
Mistress trades Melissa
 
Posts: 3464
Joined: Mon Jun 19, 2006 9:28 pm

Post » Tue May 17, 2011 9:40 am

It's not possible do what you want without some messy scripting as suggested above. A weapons enchantment wont activate on anything that isn't alive, the only "weapon" this would work with is a staff, but you can't physically attack with that of course.
User avatar
Angelina Mayo
 
Posts: 3427
Joined: Wed Jan 24, 2007 4:58 am

Post » Tue May 17, 2011 2:24 pm

You could try (in a script on a weapon) checking if the person equipping the weapon is attacking, checking if there is a corpse under the crosshairs (needs OBSE), and running the resurrection script on the corpse reference if the distance from the player is less than the reach of the weapon.

GREAT IDEA!

now...uhh... how would that look?
User avatar
Spencey!
 
Posts: 3221
Joined: Thu Aug 17, 2006 12:18 am

Post » Mon May 16, 2011 11:34 pm

This is what i got down.
although i'm not well versed in the art of scripting.
scn UndyingFuryENCHRef TargetRefbegin ??????????if (TargetRef.GetDead == 1)addspell aaaUndyingfuryPlayMagicShaderVisuals effectreanimateplaysound "SPLConjurationHit"endifend


and dont look at me for double posting It wouldnt let me Edit.
User avatar
Alycia Leann grace
 
Posts: 3539
Joined: Tue Jun 26, 2007 10:07 pm

Post » Tue May 17, 2011 10:29 am

OK now, i think more people will be able to help.
I need some help with the script as i am very unsure on how to build it correctly.
I figured the sword (weapon) could send a spell flying at the targeted object much like the swords do in http://www.tesnexus.com/downloads/file.php?id=30851

However this is what i came up with, but its obviously not finnished.
;The name of the Script.scn UndyingFuryEnch;I'm a little unsure what this actually does but it seems nessessary that its there.Ref TargetRef;Is this the correct way to begin the script?begin ScriptEffectStart;this is the solution i came up with to check whether the object under the crosshair is dead or alive.Set TargetRef to GetCrosshairRefif (TargetRef.GetDead == 1);not sure if addspell will actually send the spell at the target or if it just adds it to my spellbook. :/          addspell aaaUndyingfury;The rest is self-explanatory. although if you see something wrong correct me please          PlayMagicShaderVisuals effectreanimate          playsound "SPLConjurationHit"endifend          begin ScriptEffectFinish          StopMagicShaderVisuals effectreanimate          removespell aaaUndyingfuryend


Any ideas, any thoughts are greatly appreciated.
User avatar
SEXY QUEEN
 
Posts: 3417
Joined: Mon Aug 13, 2007 7:54 pm


Return to IV - Oblivion