Difference between revisions of "Talk:SetForceSneak"

From GECK

(please clarify 'too soon')
 
(toggle bug)
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:
 
Please clarify 'too soon'<br>
 
Please clarify 'too soon'<br>
 
--[[User:Quetzilla|Quetzilla]] 17:27, 24 January 2009 (UTC)
 
--[[User:Quetzilla|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?
 +
:--[[User:Haama|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.<br />-- [[User:Cipscis|Cipscis]] 10:31, 26 January 2009 (UTC)

Latest revision as of 05:31, 26 January 2009

toggle bug

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)
Personal tools