Jump to content
Sign in to follow this  
CarlGustaffa

What is the purpose of GroupColorX

Recommended Posts

Anyone know? I'm setting different colors according to wiki, but I can't see any difference anywhere.

Share this post


Link to post
Share on other sites

Wow, nobody knows?

A little more info. Here is what I have in my AT Teams init:

gATTeam=group this; gATTeam setGroupid ["AT-Team","GroupColor2"]

Then, later I have a sideChat to them from base;

leader ATTeam sideChat "Hello";

This shows up as:

AT-Team 1: HELLO

Not AT-Team Red 1: HELLO

as I would expect.

Are there any criteria that needs to be met for this to work, since there is no mention on the wiki about it being bugged?

And also, what are real world practice regarding callsigns and colors?

Share this post


Link to post
Share on other sites

Hi

Write it down in the syntax wink_o.gif

gATTeam=group this; gATTeam setGroupid ["AT-Team Red 1","GroupColor2"]

This problem consists since OFP.

Best regards,

Mr-Murray

Share this post


Link to post
Share on other sites

In OFP, you could not give a group an arbitrary name. All groups had a name in the form "<letter> <colour>". For Example : "Alpha Red", "Charlie Pink". In practice, you could give some groups arbitrary names using a mission specific stringtable.

In ArmA, you can name any group anything you wish, so the colour part of the setGroupId command is redundant. In ArmA, setGroupId does not require any second array element. If you want to name a group "AT-Team Red", simply use that string as your letter.

Eg: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">group player setGroupId ["Team Ninja Assault Force Echo Bravo Red Seven"]

edit: see the wiki talk page for some interesting info about ArmA group names

Share this post


Link to post
Share on other sites

Very interresting. I missed that talk page, explained pretty much everything. I liked the reference to CfgWorlds, never seen this stuff going on before.

Basically yuo *can* get the OFP method working, except you have to reference in the names using the nameformat.

I wasn't able to make up my own "three-way" system though, with custom squad, platoon, and company names (I prefer charlie squad over squad 3). But, it looks good. And basically the groupcolor can be completely omitted if using custom names.

Thank you.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×