allPlayers – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
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)
::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
:: 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)

Revision as of 22:10, 3 October 2015

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)