ForceSneak problems

Post » Fri May 27, 2011 6:29 am

How do I forcesneak the player in a script? here is the script I have at the moment, I think everything else is fine though.

Begin GameModeIf getPlayerDistance AssassinWatchPointMarker >= 2DisablePlayerControls[b]Player.Forcesneak[/b]Message "You watch as the Blades fight off the Assassins."If CGAssassin05REF.getdead == 1 && CGAssassin06.getdead == 1EnablePlayerControlsEndifEndifEnd


I need something to make the player force sneak mode.
Thanks. :dancing:
User avatar
Maya Maya
 
Posts: 3511
Joined: Wed Jul 05, 2006 7:35 pm

Post » Fri May 27, 2011 4:07 am

if you dont mind OBSE

you can use http://cs.elderscrolls.com/constwiki/index.php/TapControl and http://cs.elderscrolls.com/constwiki/index.php/IsSneaking

if player.issneaking == 0tapcontrol 9endif

User avatar
Chad Holloway
 
Posts: 3388
Joined: Wed Nov 21, 2007 5:21 am

Post » Fri May 27, 2011 10:57 am

It works, yay! :dancing:
EDIT: It dosen't work when i'm playtesting, and i'm sure i have OBSE turned on, are there any other suggestions?
User avatar
Chica Cheve
 
Posts: 3411
Joined: Sun Aug 27, 2006 10:42 pm


Return to IV - Oblivion