group: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (=)
Line 12: Line 12:
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''group''' unit |= Syntax
| [[Group]] <nowiki>=</nwiki> '''group''' [[Object|Unit]] |= Syntax


|p1= unit: [[Object]] |= Parameter 1


|p1= [[Object|Unit]]: [[Object|Person]] or [[Object|Vehicle]] |= Parameter 1
| [[Group]] -   
| [[Group]] -   
For dead units, the returned group equals [[grpNull]]. |= Return value
For dead units, the returned group equals [[grpNull]]. |= Return value

Revision as of 04:54, 27 August 2007

Hover & click on the images for description

Description

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

Syntax

Syntax:
Group =</nwiki> '''group''' [[Object|Unit]] |= Syntax |p1= [[Object|Unit]]: [[Object|Person]] or [[Object|Vehicle]] |= Parameter 1 | [[Group]] - For dead units, the returned group equals [[grpNull]]. |= Return value ____________________________________________________________________________________________ |x1= <code>playerGrp <nowiki>= group player
Return Value:
join, leader

Examples

Examples:
Example needed

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

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