group

From Bohemia Interactive Community

Jump to: navigation, search
Editors, please check Policy: Scripting Command Page Syntax.
Introduced in Operation Flashpoint version 1.00Arguments of this scripting command don't have to be local to the client the command is executed on

Click on the images for descriptions

Introduced in

Game:
Operation Flashpoint
Version:
1.00

Description

Description:
Returns the group a unit is assigned to.

Syntax

Syntax:
Group = group Unit
Parameters:
Unit: Person or Vehicle
Return Value:
Group - For dead units, the returned group equals grpNull.

Examples

Example 1:
_playerGrp = group player

Additional Information

Multiplayer:
Behaviour unknown.
Problems:
In MP the command is not initialised in functions called by initline or init eventhandlers.
See also:
join, leader

Notes

Notes

+ Add Note

Only post proven facts here. Use the talk page or the forums for discussions.

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

Personal tools
Buy ArmA now!