Author |
Message |
Arcalane
Joined: Sun Jan 28, 2007 10:32 pm Posts: 1609 Location: UK
|
 Weapon Handedness?
I know there are variables for a weapon's handedness (ie, whether it requires one or two hands), but is it possible to change the value using a simple script, or are they read-only values?
|
Tue Mar 06, 2012 6:32 pm |
|
 |
Duh102
happy carebear mom
Joined: Tue Mar 04, 2008 1:40 am Posts: 7096 Location: b8bbd5
|
 Re: Weapon Handedness?
I believe it is read-only, though I also believe that a one-handed weapon will be grasped by both hands if it is the only thing in the actor's hands.
I could very well be wrong on both accounts.
|
Wed Mar 07, 2012 5:01 pm |
|
 |
Arcalane
Joined: Sun Jan 28, 2007 10:32 pm Posts: 1609 Location: UK
|
 Re: Weapon Handedness?
I'm pretty sure you're right on the latter - set a weapon to have a very high NoSupportFactor or whatever, then use it with a shield, and your accuracy should drop immensely compared to wielding it without the shield.
As for the former, I'm not sure - can't really test it myself since I don't know enough Lua to try. Ideally, I'd want to be able to toggle a weapon between single/both hand wielding using a pie menu option.
|
Wed Mar 07, 2012 9:52 pm |
|
 |
findude
Joined: Tue Dec 12, 2006 3:10 pm Posts: 495 Location: Uncertain quantum state
|
 Re: Weapon Handedness?
According to the wiki, it's only accessible with a getter function HeldDevice:IsOneHanded()
Your only option is hacky replacing of the weapon with a different one.
|
Fri Mar 09, 2012 1:18 pm |
|
 |
|