BIS fnc updatePlayerArray: Difference between revisions
Lou Montana (talk | contribs) m (Text replacement - " |s1=[" to " |s1= [")  | 
				Lou Montana (talk | contribs)  m (Text replacement - " (\|[pr][0-9]+ *= *[^-]+) *- *A([a-z])" to " $1 - a$2")  | 
				||
| Line 10: | Line 10: | ||
|s1= [input] call [[BIS_fnc_updatePlayerArray]]  | |s1= [input] call [[BIS_fnc_updatePlayerArray]]  | ||
|p1= input: [[Array]] of [[Object]]s -   | |p1= input: [[Array]] of [[Object]]s - array of old player objects  | ||
|r1= [[Array]] -   | |r1= [[Array]] - array with new player objects  | ||
|x1= <sqf>private _newPlayerObjects = _oldPlayerObjects call BIS_fnc_updatePlayerArray;</sqf>  | |x1= <sqf>private _newPlayerObjects = _oldPlayerObjects call BIS_fnc_updatePlayerArray;</sqf>  | ||
Latest revision as of 12:40, 8 November 2023
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:
 
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