Jump to content
Sign in to follow this  
coolfact

What team color is unit

Recommended Posts

I'm trying to make a fire team tracker, and therefore in need of knowing what team color the unit have, if anyone have any idea how to get the team color information would be much appreciated :yay:

Share this post


Link to post
Share on other sites

_colorEast = EAST call BIS_fnc_sideColor;

_colorWest = WEST call BIS_fnc_sideColor;

Share this post


Link to post
Share on other sites

its not the side color im interested in, its the color the group leader is assigning to team member I want to know :S

Share this post


Link to post
Share on other sites

thanks larrow just what I needed

Edit: Btw is there a way to get the group color you have set via setgroupID?, example:

this setgroupID ["Delta","GroupColor4"];

I want the "GroupColor4"(or just the color value).

Edited by Coolfact

Share this post


Link to post
Share on other sites

What is GroupColor4 meant to do exactly? I looked through the config and grepped the files the other night but can find no reference to it other than on the wiki page for setGroupID.

Colour may be one of the following:

"GroupColor0" - (Nothing)

"GroupColor1" - Black

"GroupColor2" - Red

"GroupColor3" - Green

"GroupColor4" - Blue

"GroupColor5" - Yellow

"GroupColor6" - Orange

"GroupColor7" - Pink

"Six" - Six

but colour for what??

Share this post


Link to post
Share on other sites

I believe its the color of the group, but not sure. When using that code with Ctab mod the color of the group icon changes.

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  

×