units: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(merged syntax variations) |
||
Line 1: | Line 1: | ||
{{Command|= Comments | |||
____________________________________________________________________________________________ | |||
| ofp |= Game name | |||
|1.00|= Game version | |||
____________________________________________________________________________________________ | |||
| Returns an array with all the units in the group or unit.<br>For a destroyed object an empty array is returned. |= Description | |||
____________________________________________________________________________________________ | |||
| [[Array]] <nowiki>=</nowiki> '''units''' groupOrunit |= Syntax | |||
|p1 = groupOrunit: [[Group]] or [[Object]]|= Parameter 1 | |||
| [[Array]] |= Return value | |||
____________________________________________________________________________________________ | |||
|x1 = [[player]] in units [[group]] [[player]] | |||
| |= 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|UNITSGRP]] | |||
[[Category:Scripting Commands OFP 1.96|UNITSGRP]] | |||
[[Category:Scripting Commands OFP 1.46|UNITSGRP]] | |||
[[Category:Scripting Commands ArmA|UNITSGRP]] | |||
[[Category:Scripting Commands ArmA2|UNITSGRP]] |
Revision as of 18:05, 3 June 2009
Description
- Description:
- Returns an array with all the units in the group or unit.
For a destroyed object an empty array is returned. - Groups:
- Uncategorised
Syntax
Examples
Additional Information
- See also:
- See also needed
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