allPlayers – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "Is there a significant difference between this and ''BIS_fnc_listPlayers''? --~~~~")
 
m (Text replacement - "Killzone Kid" to "Killzone_Kid")
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
Is there a significant difference between this and ''BIS_fnc_listPlayers''?  --[[User:Sixtyfour|Sixtyfour]] ([[User talk:Sixtyfour|talk]]) 19:23, 3 October 2015 (CEST)
Is there a significant difference between this and ''BIS_fnc_listPlayers''?  --[[User:Sixtyfour|Sixtyfour]] ([[User talk:Sixtyfour|talk]]) 19:23, 3 October 2015 (CEST)
::completely different ways of collecting players data. allPlayers constructs array from actual client PCs connected to the server, bis_fnc_listPlayers goes through all existing groups collecting allUnits, then through all dead units then combines it and selects only player units. [[User:Killzone_Kid|Killzone_Kid]] ([[User talk:Killzone_Kid|talk]]) 21:42, 3 October 2015 (CEST)
:: Another thing of course is that if player is in group that belongs to sideLogic, as [[allUnits]] suggests, it will not show in bis_fnc_listPlayers [[User:Killzone_Kid|Killzone_Kid]] ([[User talk:Killzone_Kid|talk]]) 23:10, 3 October 2015 (CEST)

Latest revision as of 13:48, 12 March 2024

Is there a significant difference between this and BIS_fnc_listPlayers? --Sixtyfour (talk) 19:23, 3 October 2015 (CEST)

completely different ways of collecting players data. allPlayers constructs array from actual client PCs connected to the server, bis_fnc_listPlayers goes through all existing groups collecting allUnits, then through all dead units then combines it and selects only player units. Killzone_Kid (talk) 21:42, 3 October 2015 (CEST)
Another thing of course is that if player is in group that belongs to sideLogic, as allUnits suggests, it will not show in bis_fnc_listPlayers Killzone_Kid (talk) 23:10, 3 October 2015 (CEST)