BIS fnc updatePlayerArray: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^<]*) *<\/code>" to "<code>$1$2$3</code>") |
Lou Montana (talk | contribs) m (Text replacement - "<code> *([^<|{]*) *<\/code>" to "<sqf>$1</sqf>") |
||
Line 14: | Line 14: | ||
|r1= [[Array]] - Array with new player objects | |r1= [[Array]] - Array with new player objects | ||
|x1= < | |x1= <sqf>private _newPlayerObjects = _oldPlayerObjects call BIS_fnc_updatePlayerArray;</sqf> | ||
|seealso= [[player]] [[allPlayers]] [[playableUnits]] | |seealso= [[player]] [[allPlayers]] [[playableUnits]] | ||
}} | }} |
Revision as of 22:45, 12 July 2022
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