StartSneaking - Actor

Member of: Actor Script (Requires 1.6)

Forces this actor to start sneaking.

SyntaxEdit

Function StartSneaking() native

ParametersEdit

None.

Return ValueEdit

None.

ExamplesEdit

; Force the player to sneak mode
Game.GetPlayer().StartSneaking()


NotesEdit

  • 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.

See AlsoEdit