BIS fnc updatePlayerArray: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (see also)
m (template:command argument fix)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Updates dead player objects to their current respawned objects. |= Description
| Updates dead player objects to their current respawned objects. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [input] call [[BIS_fnc_updatePlayerArray]] |= Syntax
| [input] call [[BIS_fnc_updatePlayerArray]] |SYNTAX=
____________________________________________________________________________________________
____________________________________________________________________________________________


|p1= input: [[Array]] of [[Objects]] - Array of old player objects|= Parameter 1
|p1= input: [[Array]] of [[Objects]] - Array of old player objects|PARAMETER1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Array]] - Array with new player objects|= Return value
| [[Array]] - Array with new player objects|RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 22: Line 22:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[player]], [[allPlayers]], [[playableUnits]]|= See also
| [[player]], [[allPlayers]], [[playableUnits]]|SEEALSO=
}}
}}



Revision as of 15:34, 7 April 2019

Hover & click on the images for description

Description

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

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




Notes

Bottom Section