canStand: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{Command|= Comments | |||
____________________________________________________________________________________________ | |||
| ofp |= Game name | |||
|1.00|= Game version | |||
|arg= global |= Arguments in MP | |||
____________________________________________________________________________________________ | |||
| Returns if the given soldier is able to stand up. |= Description | |||
____________________________________________________________________________________________ | |||
''' | | '''canStand''' soldier |= Syntax | ||
|p1= soldier: [[Object]] |= Parameter 1 | |||
' | | [[Boolean]] - | ||
true if he's still able to stand up, false if not |= Return value | |||
____________________________________________________________________________________________ | |||
|x1= <pre>?!(canStand player) : player groupChat "My legs! They hit my legs!"</pre> |= Example 1 | |||
____________________________________________________________________________________________ | |||
[[ | | [[canMove]], [[canFire]] |= See also | ||
}} | |||
<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|CANSTAND]] | |||
[[Category:Scripting Commands OFP 1.96|CANSTAND]] | |||
[[Category:Scripting Commands OFP 1.46|CANSTAND]] | |||
[[Category:Scripting Commands ArmA|CANSTAND]] |
Revision as of 22:38, 1 August 2006
Description
- Description:
- Returns if the given soldier is able to stand up.
- Groups:
- Uncategorised
Syntax
- Syntax:
- canStand soldier
- Parameters:
- soldier: Object
- Return Value:
- Boolean - true if he's still able to stand up, false if not
Examples
- Example 1:
?!(canStand player) : player groupChat "My legs! They hit my legs!"
Additional Information
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