Talk:SetForceSneak

Active discussions
Revision as of 06:31, 26 January 2009 by imported>Cipscis (→‎toggle bug)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

toggle bugEdit

Please clarify 'too soon'
--Quetzilla 17:27, 24 January 2009 (UTC)

Yes, please describe the script/circumstances.
Also, can it be cleared up by calling NPCRef.PlayIdle like in Oblivion?
--Haama 23:38, 25 January 2009 (UTC)
Just tested it again with two scripts - one on a token and one on the NPC and this bug was present in both scripts, which were done like this, using GetContainer and a ref variable for the token script:
Begin GameMode

	if player.IsSneaking != GetForceSneak
		set sPlayerIsSneaking to player.IsSneaking
		SetForceSneak sPlayerIsSneaking
	endif

End
By "too soon", I noticed this bug only when I tapped the sneak toggle control within the first few frames of the animation. PlayIdle doesn't seem to fix this problem.
-- Cipscis 10:31, 26 January 2009 (UTC)
Return to "SetForceSneak" page.