BIS fnc updatePlayerArray: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "")
m (Text replacement - " *\|= " to " ")
Line 15: Line 15:
| [[Array]] - Array with new player objects|RETURNVALUE=
| [[Array]] - Array with new player objects|RETURNVALUE=


|x1= <code>_newPlayerObjects = _oldPlayerObjects [[call]] [[BIS_fnc_updatePlayerArray]];</code> |=
|x1= <code>_newPlayerObjects = _oldPlayerObjects [[call]] [[BIS_fnc_updatePlayerArray]];</code>


| [[player]], [[allPlayers]], [[playableUnits]]|SEEALSO=
| [[player]], [[allPlayers]], [[playableUnits]]|SEEALSO=

Revision as of 21:16, 17 January 2021

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:
_newPlayerObjects = _oldPlayerObjects call BIS_fnc_updatePlayerArray;

Additional Information

See also:
playerallPlayersplayableUnits

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




Bottom Section