setGroupId: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (moved notes)
mNo edit summary
Line 59: Line 59:
<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
Additional values for letter are: Color can also be set to "Six". Following is a list of GroupColors: Note that this does not name the group. To call a [[group]] "grp1", for example, write this in the init field of the [[group]] '''leader''': grp1 = [[group]] this
 
<dd class="notedate">Posted on August 4, 2006 - 11:01</dd>
<dt class="note">'''[[User:Hardrock|hardrock]]'''</dt><dd class="note">''Notes from before the conversion:''
 
Color can also be set to "Six".
 
Note that this does not name the group. To call a [[group]] "grp1", for example, write this in the init field of the [[group]] [[leader]]:
 
grp1 <nowiki>=</nowiki> [[group]] this
</dd>
 
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>

Revision as of 12:01, 4 August 2006

Hover & click on the images for description

Description

Description:
Set group identity. Id format is [letter, color, picture] or [letter, color]. Letter is one of:
  • "Alpha"
  • "Bravo"
  • "Charlie"
  • "Delta"
  • "Echo"
  • "Foxtrot"
  • "Golf"
  • "Hotel"
  • "Kilo"
  • "Yankee"
  • "Zulu"
  • "Buffalo"
  • "Convoy"
  • "Guardian"
  • "November"
  • "Two"
  • "Three"
Colour can be one of "GroupColor0" to "GroupColor7":
  • 0 - No colour
  • 1 - Black
  • 2 - Red
  • 3 - Green
  • 4 - Blue
  • 5 - Yellow
  • 6 - Orange
  • 7 - Pink
Groups:
Uncategorised

Syntax

Syntax:
group setGroupId id
Parameters:
group: Object or Group
id: Array
Return Value:
Nothing

Examples

Example 1:
group1 setGroupId ["Delta","GroupColor4"]

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 4, 2006 - 11:01
hardrock
Notes from before the conversion: Color can also be set to "Six". Note that this does not name the group. To call a group "grp1", for example, write this in the init field of the group leader: grp1 = group this

Bottom Section