Disarm Script

Post » Thu Oct 07, 2010 7:28 pm

Hello again. It's been a while since I posted here, but I need some more help. I want to make a script that disarms an opponent, but I can't find any command that will do this. If anyone knows how to do this, your help will be greatly appreciated.

Thanks in advance,

Martin T.

Edit: For now I've dug up a workaround out of the forum's archives, but I really want to use the game's actual disarm code if possible.
User avatar
Soph
 
Posts: 3499
Joined: Fri Oct 13, 2006 8:24 am

Post » Fri Oct 08, 2010 3:10 am

I can't find any function to disarm an actor, and CS wiki doesn't say anything about a disarm code, only skill perks and the percentage global variable. Your best bet is to cast disintegrate weapon 3000 to the target actor (if you wish to use this only against non-mod weapons) with an activator
User avatar
joannARRGH
 
Posts: 3431
Joined: Mon Mar 05, 2007 6:09 am

Post » Fri Oct 08, 2010 8:46 am

Disarm on attack, or just disarm at a random time?

You can force them to unequip an item, but they'll likely pull it out again.

If you are disarming on attack, you can temporarily increase their weapon skill to journeyman, and bump the "iPerkAttackDisarmChance" up to 100. They'd still need to use the sidestep power attack, though.
User avatar
P PoLlo
 
Posts: 3408
Joined: Wed Oct 31, 2007 10:05 am

Post » Fri Oct 08, 2010 3:25 am

um

set thing to actor.getequippedobject 16
actor.unequipitemns
actor.drop 1

That's disarm them just fine.
User avatar
Dylan Markese
 
Posts: 3513
Joined: Sat Dec 01, 2007 11:58 am


Return to IV - Oblivion