isForcedWalk: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=0-9]{12})" to "|$1=$2 |descr=$3") |
Lou Montana (talk | contribs) m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>") |
||
(11 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 14: | Line 14: | ||
|descr= Returns [[true]] if player is forced to walk with [[forceWalk]]. | |descr= Returns [[true]] if player is forced to walk with [[forceWalk]]. | ||
|s1= | |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