group: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{Command|= Comments | |||
____________________________________________________________________________________________ | |||
| ofp |= Game name | |||
|1.00|= Game version | |||
|arg= global |= Arguments in MP | |||
____________________________________________________________________________________________ | |||
| Returns the group a unit is assigned to. |= Description | |||
____________________________________________________________________________________________ | |||
''' | | '''group''' unit |= Syntax | ||
|p1= unit: [[Object]] |= Parameter 1 | |||
[[Group]] | | [[Group]] - | ||
For dead units, the returned group equals [[grpNull]]. |= Return value | |||
____________________________________________________________________________________________ | |||
|x1= <pre>playerGrp = group player</pre> |= Example 1 | |||
____________________________________________________________________________________________ | |||
| [[join]], [[leader]] |= 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|GROUP]] | |||
[[Category:Scripting Commands OFP 1.96|GROUP]] | |||
[[Category:Scripting Commands OFP 1.46|GROUP]] | |||
[[Category:Scripting Commands ArmA|GROUP]] |
Revision as of 00:26, 2 August 2006
Description
- Description:
- Returns the group a unit is assigned to.
- Groups:
- Uncategorised
Syntax
- Syntax:
- group unit
- Parameters:
- unit: Object
- Return Value:
- Group - For dead units, the returned group equals grpNull.
Examples
- Example 1:
playerGrp = group player
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