isForcedWalk: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *arma2oa * +\| *1.([0-9]{2}) * *\|([^g]|g[^a])" to "| arma2oa |1.$1 |game2= tkoh |version2= 1.00 |game3= arma3 |version3= 0.50 |$2") |
Lou Montana (talk | contribs) m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>") |
||
(13 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
| arma2oa | |game1= arma2oa | ||
|1. | |version1= 1.50 | ||
|game2= tkoh | |game2= tkoh | ||
Line 12: | Line 12: | ||
|gr1= Stamina System | |gr1= Stamina System | ||
| Returns [[true]] if player is forced to walk with [[forceWalk]]. | |descr= Returns [[true]] if player is forced to walk with [[forceWalk]]. | ||
| | |s1= [[isForcedWalk]] unitName | ||
|p1= unitName : [[Object]] | |p1= unitName : [[Object]] | ||
Line 20: | Line 20: | ||
|r1= [[Boolean]] | |r1= [[Boolean]] | ||
|x1= < | |x1= <sqf>_bool = isForcedWalk player;</sqf> | ||
|seealso= [[forceWalk]] | |seealso= [[forceWalk]] [[isWalking]] [[forceSpeed]] [[getSpeed]] | ||
}} | }} | ||
Latest revision as of 10:23, 13 May 2022
Description
- Description:
- Returns true if player is forced to walk with forceWalk.
- Groups:
- Stamina System
Syntax
- Syntax:
- isForcedWalk unitName
- Parameters:
- unitName : Object
- Return Value:
- Boolean
Examples
- Example 1:
Additional Information
- See also:
- forceWalk isWalking 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