OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Sol Fire on 22 Mar 2003, 04:14:44
-
Hello once again i grace you with one of my questions that need answering! ;)
ok here is my problem
i currently have a few groups designated Bravo, Charlie, Delta but when i use the "bravo1 sidechat "blah blah" " it calls him Delta and i know why.. i have a m113 that calls itself Bravo but i dont want to make him part of Alpha because he joins Alpha later in the mission so i need to know how to change the Identities of those groups!
Thanks ;D ;D ;D ;D ;D
-
What? No Help?! :'(
im not giving up hope! ;D
-
hmm... i think i found out how but im not sure..
would i do this using "Name" = group this?
im going to try it
-
Nope :'(
-
lol Sol Fire, I've never seen a thread with 4 posts by the same person before .... :) I think you should wait longer than two hours before posting a "wot, no help?" message, sometimes it takes a couple of days before the right person sees your question.
Anyway, I quote from the online command ref. Put it in the init field of the group leader
this setGroupId ["Alpha", "GroupColor0"]
0 gives no colour, 1 - 7 you will discover by trial and error unless its in the FAQ. If you find out please post a Comment in the online ref as to what number gives what colour.
--------------------------------------------------------------------------------
group setGroupId id
Operand types:
group: Object or Group
id: Array
Type of returned value:
Nothing
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", color is one of "GroupColor0" to "GroupColor7".
Example:
setGroupId ["Alpha", "GroupColor0"]
comment »
Sefe October 31, 2002, 20:32
Additional values for letter are:
"Yankee", "Zulu", "Buffalo", "Convoy", "Guardian" "Two", "Three"
Color can also be set to "Six".
LCD November 11, 2002, 03:19
You can also set the values to "November"
-----------------
name = group this
is, as you have discovered, for a totally different purpose. That gives the group a name for you to use in commands. setGroupId only decides what appears in the radio messages.
-
Thanks Macguba!
sorry but i was a little Impatiant.. wanted to get that done before i had to go to bed :)
anyway thanks alot and i'll be sure to find that out for you too (if i can ;D)
anyway Thanks Thanks Thanks im saved from having to re-do my breifing/markers/radio messages etc..
-
here they are Macguba and i'll post them in the comref too
Groupcolor1 - 7
1.Black
2.Red
3.Green
4.Blue
5.Yellow
6.orange
7.pink