group: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replace - "</dt>" to "")
m (Text replace - "</dd>" to "")
Line 33: Line 33:
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->


<dd class="notedate">Posted on August 19, 2006 - 12:00</dd>
<dd class="notedate">Posted on August 19, 2006 - 12:00
<dt class="note">'''[[User:jafarin|jafarin]]'''<dd class="note">
<dt class="note">'''[[User:jafarin|jafarin]]'''<dd class="note">
Few rules about group in OFP:R.<br>
Few rules about group in OFP:R.<br>
1) When last man in group die or is moved to other group, group will be destroyed, and it can't be used anymore.<br>
1) When last man in group die or is moved to other group, group will be destroyed, and it can't be used anymore.<br>
2) 1st man joined to empty group will be group leader.<br>
2) 1st man joined to empty group will be group leader.<br>
</dd>
 
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>

Revision as of 13:34, 21 October 2011

Hover & click on the images for description

Description

Description:
Returns the group a unit is assigned to.
Problems:
In MP the command is not initialised in functions called by initline or init eventhandlers.
Groups:
Uncategorised

Syntax

Syntax:
Group = group object
Parameters:
object: Object
Return Value:
Group - For dead units, the returned group equals grpNull.

Examples

Example 1:
_playerGrp = group player

Additional Information

See also:
joinleaderunits

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

Notes

Posted on August 19, 2006 - 12:00
jafarin
Few rules about group in OFP:R.
1) When last man in group die or is moved to other group, group will be destroyed, and it can't be used anymore.
2) 1st man joined to empty group will be group leader.

Bottom Section