group: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 34: Line 34:
<dt class="note">'''[[User:jafarin|jafarin]]'''</dt><dd class="note">
<dt class="note">'''[[User:jafarin|jafarin]]'''</dt><dd class="note">
Few rules about group in OFP:R.<br>
Few rules about group in OFP:R.<br>
1) At middle of multiplayer game, groups can't be created. All needed groups must be created in editor.<br>
1) Groups cannot be created once a game has started. All needed groups must be previously created in the editor.<br>
2) 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) When last man in group die or is moved to other group, group will be destroyed, and it can't be used anymore.<br>
3) 1st man joined to empty group will be group leader.<br>
3) 1st man joined to empty group will be group leader.<br>

Revision as of 13:14, 19 August 2006

Hover & click on the images for description

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

See also:
joinleader grpleader unit

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) Groups cannot be created once a game has started. All needed groups must be previously created in the editor.
2) When last man in group die or is moved to other group, group will be destroyed, and it can't be used anymore.
3) 1st man joined to empty group will be group leader.

Bottom Section