getGroupIconParams – Talk
(Created page with " For a group that you have not set a groupIcon for, the return using Player globalchat format ["%1",getGroupIconParams GROUPNAME]; is a 6 element array as follows [ [1,1,1,1], ...") |
Lou Montana (talk | contribs) m (Text replacement - "\[ *(https?:\/\/[^ =]+) *\]" to "{{Link|$1|link}}") |
||
(6 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
tested with Arma2 OA beta 1.60.94700 | |||
getgroupIcon GROUPNAME returns a 6 element array not a 4 element array | |||
I can confirm | |||
select 0: [R,G,B,Alpha] colour array that you set | |||
select 1: String (The text used on the icon) | |||
select 2: Number (Scaled size of icon Floating number)) | |||
select 3: Bool (Returns True regardless of setGroupIconsVisible [BOOL state, BOOL state]; | |||
select 4: Bool (Returns FALSE regardless of setGroupIconsVisible [BOOL state, BOOL state]; | |||
select 5: Array (I assume this is an R,G,B,Alpha array, if the group icon has been set it seems to always return [0,0,0,1] | |||
For a group that you have not set a groupIcon for, the return using | For a group that you have not set a groupIcon for, the return using | ||
Player globalchat format ["%1",getGroupIconParams GROUPNAME]; | Player globalchat format ["%1",getGroupIconParams GROUPNAME]; | ||
is a 6 element array as follows | is a 6 element array as follows | ||
[ [1,1,1,1], "", 1, TRUE, FALSE, [1,1,1,1] ] | [ [1,1,1,1], "", 1, TRUE, FALSE, [1,1,1,1] ] | ||
Ticket raised on Dev Heaven: | |||
{{Link|https://dev-heaven.net/issues/38239|link}} | |||
--[[User:Terox|Terox]] 15:22, 23 July 2012 (CEST) |
Latest revision as of 14:43, 28 April 2023
tested with Arma2 OA beta 1.60.94700 getgroupIcon GROUPNAME returns a 6 element array not a 4 element array
I can confirm
select 0: [R,G,B,Alpha] colour array that you set
select 1: String (The text used on the icon)
select 2: Number (Scaled size of icon Floating number))
select 3: Bool (Returns True regardless of setGroupIconsVisible [BOOL state, BOOL state];
select 4: Bool (Returns FALSE regardless of setGroupIconsVisible [BOOL state, BOOL state];
select 5: Array (I assume this is an R,G,B,Alpha array, if the group icon has been set it seems to always return [0,0,0,1]
For a group that you have not set a groupIcon for, the return using
Player globalchat format ["%1",getGroupIconParams GROUPNAME];
is a 6 element array as follows
[ [1,1,1,1], "", 1, TRUE, FALSE, [1,1,1,1] ]
Ticket raised on Dev Heaven:
link (dead link)
--Terox 15:22, 23 July 2012 (CEST)