Difference between revisions of "StartSneaking - Actor"
Jump to navigation
Jump to search
imported>Fg109 m (Added notes) |
imported>KorJax |
||
Line 25: | Line 25: | ||
== Notes == | == Notes == | ||
* If the actor was already sneaking, cancels sneaking. | * 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 Also == | == See Also == | ||
*[[Actor Script]] | *[[Actor Script]] |
Latest revision as of 11:10, 21 October 2012
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.