OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: ZNorQ on 24 Jun 2004, 20:12:13

Title: SETGROUPID
Post by: ZNorQ on 24 Jun 2004, 20:12:13
I can't quite make out setGroudID.

I was hoping that when I use this command, I would get the right group ID in the MP player selection screen. But I don't.

My INIT.sqs;
Code: [Select]
aP setGroupID["Hotel", "GroupColor1"]
(aP is the ID for my player.)

I've tried the same line in my units INIT field - but seems like that didn't work either.

I would think this would show "Hotel <colorcode1>" (can't remember what color the '1' represented) - and then my player under there... But seems all I get is "Group Alpha Black".

Do I misunderstand the whole setGroupID concept?

ZNorQ
Title: Re:SETGROUPID
Post by: Terox on 25 Jun 2004, 00:50:16
what you see in mplayer setup screen is hardcoded and you cant change it,  wouldnt it be great if we could make custom group names up for that screen such as simply Alpha, HQ, Support etc

the setgroupId is purely for ingame radio message use etc
Title: Re:SETGROUPID
Post by: ZNorQ on 25 Jun 2004, 08:50:18
Hey! Are you stalking me??  ;D

Yes it would be - I thougth that was part of the deal with setGroupID.. The setGroupID should'a been more flexible - really - all that should'a been needed was a command like this; gMyGroup = setGroupID["THE GROUPS CALL CODE HERE"]. My point is just a free text where you could write any group name you wanted.

Oh, well, hope they make it do'able in OFP2.

Thx again mate.

ZNorQ