Home   Help Search Login Register  

Author Topic: Group Naming?  (Read 338 times)

0 Members and 1 Guest are viewing this topic.

shadow99

  • Guest
Group Naming?
« on: 25 Jun 2004, 07:04:19 »
Alright. As we all know, by default each group is given a code-name, eg: Alpha Black One. My trouble is finding out which group is named which...  :-\

I could just shoot one of them, or something like that in testplay, but c'mon... there has to be proper way to find out what each group is named through the editor or something.

Furthermore, is there a way I can select which name these groups have? Eg: Name the player's group 'Alpha Black', so it appears in the briefing as 'Private Williams, Alpha Black Seven' or however it is...?

Thanks very much. This question's been killing me.

Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re:Group Naming?
« Reply #1 on: 25 Jun 2004, 07:55:35 »
1)
You can check in which group someone belongs by using the command group..
Test it by putting the following into some units init field:
hint format ["%1",group this]

Now when you preview you get a hint box saying something like WEST Alpha Black...

There might some better way, but anyhoo... This is a start :P

http://www.ofpec.com/editors/comref.php?letter=G#group


2)
Yes you can.
You put the following for example in the groupleaders (may work on any group member too) init field:
this setGroupID ["Bravo","GroupColor2"]

http://www.ofpec.com/editors/comref.php?letter=S#setGroupId
Project MCAR   ---   Northern Fronts   ---   Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.

shadow99

  • Guest
Re:Group Naming?
« Reply #2 on: 25 Jun 2004, 08:00:47 »
Hmm... very juicy. Thanks man, that helps a big heap.

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Group Naming?
« Reply #3 on: 25 Jun 2004, 08:09:15 »
2) If you want to create names you wanna check out a tute in ed depot about description.ext. Named "How to create characters" or summin like that.

:beat: *Gets Shot* :beat: