isWalking: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) |
Lou Montana (talk | contribs) m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>") |
||
Line 23: | Line 23: | ||
|r1= [[Boolean]] | |r1= [[Boolean]] | ||
|x1= <code>_bool = | |x1= <code>_bool = isWalking [[player]];</code> | ||
|seealso= [[forceWalk]] [[isForcedWalk]] [[forceSpeed]] [[getSpeed]] | |seealso= [[forceWalk]] [[isForcedWalk]] [[forceSpeed]] [[getSpeed]] |
Revision as of 11:10, 12 May 2022
Description
- Description:
- Returns true if walk is toggled (default W+S in Arma 3).
- Groups:
- Object Manipulation
Syntax
Examples
- Example 1:
_bool = isWalking player;
Additional Information
- See also:
- forceWalk isForcedWalk forceSpeed getSpeed
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
- Posted on March 8, 2015 - 21:03 (UTC)
- Benargee
- To expand on the limited description, this command doesn't necessarily say whether or not the unit is currently walking. All it says is that walking is toggled on or off. This command can still return true when the unit is sprinting. When walking is toggled on, the unit will return to walking pace when not sprinting. When walking is toggled off, the unit will return to jogging pace when not sprinting. This command is not intended to gauge a units current movement speed.