Sheath-Unsheathe player's weapon

Post » Thu Dec 02, 2010 3:51 pm

I'm trying to sheath/unsheathe the player's weapon under certain circumstances. So far I've succeeded using the EquipItem/UnequipItem function, however this creates the inconvenience of having to enter the menu and re-equip the weapon.
Is there a way to do this without actually equipping it.
User avatar
Emma Copeland
 
Posts: 3383
Joined: Sat Jul 01, 2006 12:37 am

Post » Thu Dec 02, 2010 4:05 pm

If you use OBSE you can use TapControl 8 to make the player press the "ready weapon" button. You can also try player.setalert 1 and player.setalert 0 though I'm not sure if this function works on the player.
User avatar
x a million...
 
Posts: 3464
Joined: Tue Jun 13, 2006 2:59 pm

Post » Thu Dec 02, 2010 4:03 pm

If you use OBSE you can use TapControl 8 to make the player press the "ready weapon" button. You can also try player.setalert 1 and player.setalert 0 though I'm not sure if this function works on the player.


Thank you!

TapControl works stupendously ;)
User avatar
April D. F
 
Posts: 3346
Joined: Wed Mar 21, 2007 8:41 pm


Return to IV - Oblivion