Difference between revisions of "setGroupId"

From Bohemia Interactive Community
Jump to navigation Jump to search
m
m
Line 42: Line 42:
 
| group '''setGroupId''' [nameFomat, nameParam1, ...] |= Syntax
 
| group '''setGroupId''' [nameFomat, nameParam1, ...] |= Syntax
  
|p1= group: [[Object or Group]] |= Parameter 1
+
|p1= group: [[Object]] or [[Group]] |= Parameter 1
  
 
|p2= [nameFomat, nameParam1, ...]: [[Array]] |= Parameter 2
 
|p2= [nameFomat, nameParam1, ...]: [[Array]] |= Parameter 2

Revision as of 03:40, 22 December 2006

Introduced with Operation Flashpoint version 1.00
  

Click on the images for descriptions

Introduced in

Game:
Operation Flashpoint
Version:
1.00

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

Syntax

Syntax:
group setGroupId [nameFomat, nameParam1, ...]
Parameters:
group: Object or Group
[nameFomat, nameParam1, ...]: Array
Return Value:
Nothing

Examples

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

Additional Information

Multiplayer:
-
See also:
See also needed

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

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
Posted on December 9, 2006 - 12:20
Mondkalb
Selfdefined Callsigns: In Armed Assault you're able to define the callsignletter by yourself. This can be for example "Fireteam", or "Specialforces". this setgroupId ["Attackteam","groupcolor2"]

Bottom Section