BIS_fnc_updatePlayerArray

From Bohemia Interactive Community
Revision as of 13:40, 8 November 2023 by Lou Montana (talk | contribs) (Text replacement - " (\|[pr][0-9]+ *= *[^-]+) *- *A([a-z])" to " $1 - a$2")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Updates dead player objects to their current respawned objects.
Execution:
call
Groups:
Respawn

Syntax

Syntax:
[input] call BIS_fnc_updatePlayerArray
Parameters:
input: Array of Objects - array of old player objects
Return Value:
Array - array with new player objects

Examples

Example 1:
private _newPlayerObjects = _oldPlayerObjects call BIS_fnc_updatePlayerArray;

Additional Information

See also:
player allPlayers playableUnits

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note