group: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| ofp |Game name= | | ofp |Game name= | ||
Line 9: | Line 8: | ||
|arg= global |Multiplayer Arguments= | |arg= global |Multiplayer Arguments= | ||
| Returns the group a unit is assigned to. |DESCRIPTION= | | Returns the group a unit is assigned to. |DESCRIPTION= | ||
| '''group''' object |SYNTAX= | | '''group''' object |SYNTAX= | ||
Line 20: | Line 17: | ||
| [[Group]] - | | [[Group]] - | ||
For dead units, the returned group equals [[grpNull]]. |RETURNVALUE= | For dead units, the returned group equals [[grpNull]]. |RETURNVALUE= | ||
|x1= <code>_playerGrp <nowiki>=</nowiki> [[group]] [[player]]</code> |EXAMPLE1= | |x1= <code>_playerGrp <nowiki>=</nowiki> [[group]] [[player]]</code> |EXAMPLE1= | ||
|pr= In MP the command is not initialised in functions called by initline or init eventhandlers.|= | |pr= In MP the command is not initialised in functions called by initline or init eventhandlers.|= |
Revision as of 01:43, 17 January 2021
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:
- Groups
Syntax
- Syntax:
- group object
- Parameters:
- object: Object
- Return Value:
- Group - For dead units, the returned group equals grpNull.
Examples
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
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
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.00
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Groups
- Scripting Commands OFP 1.99
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.46
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 3: Scripting Commands
- Take On Helicopters: Scripting Commands