StartSneaking - Actor
Jump to navigation
Jump to search
Member of: Actor Script (Requires 1.6)
Forces this actor to start sneaking.
Syntax[edit | edit source]
Function StartSneaking() native
Parameters[edit | edit source]
None.
Return Value[edit | edit source]
None.
Examples[edit | edit source]
; Force the player to sneak mode
Game.GetPlayer().StartSneaking()
Notes[edit | edit source]
- If the actor was already sneaking, cancels sneaking.
- This function requires the actor to be in the right conditions to sneak in order to call. In other words, the function won't work if the actor is falling, swimming, or in the middle of performing an attack at the time it is called. You must wait until such actions are finished before this function will work.