Home   Help Search Login Register  

Author Topic: setGroupID  (Read 533 times)

0 Members and 1 Guest are viewing this topic.

Offline limmy3

  • Members
  • *
  • OFP crazy!
setGroupID
« on: 04 Oct 2005, 00:45:54 »
Hi,
unfortunally I had no success for seaching for setGroupID.  :-[
Do I write the SetGroupID in the description.ext.  ???
If  yes, and you know the answer please make an example.  ;)

Thanks
The only necessary for triumph of evil is for good men to do nothing.

Kyle Sarnik

  • Guest
Re:setGroupID
« Reply #1 on: 04 Oct 2005, 01:07:15 »
SetGroupID sets the name of the group (ex. Alpha Black, Charlie Red, Yankee, Zulu, etc...). The command goes like this:

Code: [Select]
unit SetGroupID ["Name","Color"]
It can be entered anywhere a command can, init field, trigger, script, etc...

The names and colors are defined in the CfgWorlds section of the config.bin and additional ones can be added in addons. Colors don't necessarily have to be colors either, they can be names too, but all of the default ones are colors (except for one). The default ones are:

Names:
Alpha
Bravo
Charlie
Delta
Echo
Foxtrot
Golf
Hotel
November
Kilo
Yankee
Zulu

Colors:
GroupColor0        - Nothing (so the group ID will be just the name)
GroupColor1        - Black
GroupColor2        - Red
GroupColor3        - Green
GroupColor4        - Blue
GroupColor5        - Yellow
GroupColor6        - Orange
GroupColor7        - Pink
Six                       - Just "Six"







Offline The-Architect

  • Former Staff
  • ****
  • Bite my shiny metal...
    • Bob's Un-official Flashpoint Page
Re:setGroupID
« Reply #2 on: 04 Oct 2005, 07:29:18 »
Ok, here's how I found it. You should take a good look through this stuff as there are lots of interesting commands available.

Click the link called "EDITOR'S DEPOT" at the top of the page.

Click "COMMANDS" on the tab on the left hand side of the page.

Click "S" on the alphabet near the top of the page.

Click SetGroupID in the list that goes down the page.

If you're lazy though, click this.
http://www.ofpec.com/editors/comref.php?letter=S#setGroupId
James Andrew Wilkinson 1977 - 2005 R.I.P.
"If it ain't the friggin' incoming it's the friggin' outgoing. Only difference is who gets the friggin' grease, and that ain't no friggin' difference at all."