BIS fnc updatePlayerArray: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
m (pf)
Line 1: Line 1:
{{Function|= Comments
{{Function|= Comments
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma3 |= Game name
| arma 3 |= Game name


|1.00|= Game version
|1.00|= Game version
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
| Updates dead player objects to their current respawned objects. |= Description
____________________________________________________________________________________________
Description:
Updates dead player objects to their current respawned objects
Parameters:
_this: ARRAY
Returns:
ARRAY
*/


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
| [input] call [[BIS_fnc_updatePlayerArray]] |= Syntax
____________________________________________________________________________________________
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_updatePlayerArray]]; --> |= Syntax
|p1= input: [[Array]] of [[Objects]] - Array of old player objects|= Parameter 1
____________________________________________________________________________________________


|p1= |= Parameter 1
| [[Array]] - Array with new player objects|= Return value
____________________________________________________________________________________________


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


|x1= <code></code> |=  
| [[player]], [[allPlayer]], [[playableUnits]]|= See also
____________________________________________________________________________________________
}}
 
 
 


| |= See also


}}


<h3 style="display:none">Notes</h3>
<h3 style="display:none">Notes</h3>

Revision as of 16:51, 5 June 2018

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:
playerallPlayerplayableUnits

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