isForcedWalk: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(format)
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
 
(38 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


| arma2oa |= Game name
|game1= arma2oa
|version1= 1.50


|1.51|= Game version
|game2= tkoh
____________________________________________________________________________________________
|version2= 1.00


| Returns [[true]] if player is forced to walk with [[forceWalk]]. |= Description
|game3= arma3
____________________________________________________________________________________________
|version3= 0.50


| '''isForcedWalk''' unitName |= Syntax
|gr1= Stamina System


|p1= unitName : [[Object]] |=
|descr= Returns [[true]] if player is forced to walk with [[forceWalk]].


| [[Boolean]] |= Return value
|s1= [[isForcedWalk]] unitName
____________________________________________________________________________________________


|x1= <code>_bool = [[isForcedWalk]] [[player]];</code> |=
|p1= unitName : [[Object]]
____________________________________________________________________________________________


| [[forceWalk]], [[isWalking]], [[forceSpeed]], [[getSpeed]] |= See also
|r1= [[Boolean]]


|x1= <sqf>_bool = isForcedWalk player;</sqf>
|seealso= [[forceWalk]] [[isWalking]] [[forceSpeed]] [[getSpeed]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:ArmA 2 OA: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]

Latest revision as of 11:23, 13 May 2022

Hover & click on the images for description

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:
_bool = isForcedWalk player;

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