Difference between revisions of "IsSneaking"

From GECK

(changed type to boolean)
(Undo revision 13038 by TastyWheat (Talk): there is no boolean type in FO3 scripts)
Line 4: Line 4:
 
|summary = Returns 1 if the actor is sneaking (crouched).
 
|summary = Returns 1 if the actor is sneaking (crouched).
 
|referenceType = Actor
 
|referenceType = Actor
|returnType = boolean
+
|returnType = int
 
|example = player.IsSneaking
 
|example = player.IsSneaking
  

Revision as of 21:03, 4 February 2009

Link to TES4 Construction Set Wiki: IsSneaking.

A function included in the GECK version 1.1.0.36.

Description

Returns 1 if the actor is sneaking (crouched).

Syntax

(int) Actor.IsSneaking

Example

player.IsSneaking

Tests the player's sneak state.

See Also

Personal tools