Talk:IsSneaking - Actor

From the CreationKit Wiki
Revision as of 22:05, 10 February 2012 by imported>MaboroshiDaikon
Jump to navigation Jump to search

I can get the following to work as expected:

If (Game.GetPlayer().IsWeaponDrawn() == 1)

  Do Something

EndIf

But the following does not:

If (Game.GetPlayer().IsSneaking() == 1)

  Do Something

EndIf

Tried the following syntax and still no luck:

If (Game.GetPlayer().IsSneaking())

  Do Something

EndIf