BIS fnc updatePlayerArray: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " +" to " ")
m (Text replacement - "\| *(\[[a-zA-Z,. ]*\] call ('''|\[\[)?BI(N|S)_fnc_[a-zA-Z]+('''|\]\])?) *\|p1=" to "|s1=$1 |p1=")
Line 1: Line 1:
{{RV|type=function
{{RV|type=function
| arma3|1.00|gr1= Respawn| Updates dead player objects to their current respawned objects.| [input] call [[BIS_fnc_updatePlayerArray]]|p1= input: [[Array]] of [[Object]]s - Array of old player objects| [[Array]] - Array with new player objects|x1= <code>_newPlayerObjects = _oldPlayerObjects [[call]] [[BIS_fnc_updatePlayerArray]];</code>
| arma3|1.00|gr1= Respawn| Updates dead player objects to their current respawned objects.|s1=[input] call [[BIS_fnc_updatePlayerArray]]
 
|p1= input: [[Array]] of [[Object]]s - Array of old player objects| [[Array]] - Array with new player objects|x1= <code>_newPlayerObjects = _oldPlayerObjects [[call]] [[BIS_fnc_updatePlayerArray]];</code>


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

Revision as of 17:02, 12 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Respawn

Syntax

Syntax:
[input] call BIS_fnc_updatePlayerArray
Parameters:
input: Array of Objects - Array of old player objects
Return Value:
Return value needed

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