Editors Depot - Mission Editing and Scripting > OFP - Editing/Scripting Multiplayer

Middle newbie lol need a hand here!!!

(1/3) > >>

Cougar:
Hey guys!!! Well im wondering if theres anyway to change the group name of a group!?? I mean by tht... When youre in a multiplayer session you choose the side you want and after tht select a soldier, well ill have 4 group and i want to name them like tht Alpha Bravo Charlie and Delta only those i dont want if possible color but i can live with it! for example:
Alpha 1 Pilot
Alpha 2 Crew
Bravo 1 Sniper
Charlie 1 LawSoldier
Delta 4 Black Ops

Anyone have a clue???

Messiah:
yep, easy enuff... but you have to have a colour  :-\

name the leader of ya group - we'll call him off1

then in his init field type:

off1 SetGroupId ["Alpha", "GroupColor#"]

possible values for alpha are all the phonetic alphabet up to Hotel - colours go to number 8.

also you can have instead of Alpha:

Convoy
Guardian
November
Yankee

thats all i can remember, hope that helps. check the command reference to see what colours you can choose and the possible phonetic alphabet call signs.

Wolfrug:
Phonetic alphabeth being:

Alpha
Beta
Charlie
Delta
Echo
Foxtrot
Golf
Hotel

the colours being:

"GroupColor1" = Black
"GroupColor2" = Red
"GroupColor3" = Green
"GroupColor4" = Blue
"GroupColor5" = Yellow
"GroupColor6" = Orange
"GroupColor7" = Pink

You can also use the group's name instead of a person, as in:

groupname setGroupId["Alpha", "GroupColor1"]

also, if you set the color to "GroupColor0", the name will appear like "Alpha 1", "Alpha 2" etc.

Hope all of that helps ;) Good luck.

Wolfrug out.

RT-SuperTron:
 :)

Straight out of the ComRef 1.75


--- Quote ---group setGroupId id
Operand types:
    group: Object or Group
    id: Array
Type of returned value:
    None
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"]


--- End quote ---

Do I see "kilo"..hmm I guess I do :-\


--- Quote ---also you can have instead of Alpha:

Convoy
Guardian
November
Yankee

--- End quote ---

Messiah, do you have any idea about where I can obtain more info about those, since it would be nice to incorporate Papa bear and more of those...."pink squirrel, pink squirrel this is stag-beetle blue...do you copy..." ;D.....SNAP!

No seriously, it would be cool if we can pry some info from OFP somehow..


[RT]SuperTron

Cougar:
ok thanks guys for the replys!!

Navigation

[0] Message Index

[#] Next page

Go to full version