BIS fnc updatePlayerArray: Difference between revisions
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. |= | | Updates dead player objects to their current respawned objects. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [input] call [[BIS_fnc_updatePlayerArray]] |= | | [input] call [[BIS_fnc_updatePlayerArray]] |SYNTAX= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|p1= input: [[Array]] of [[Objects]] - Array of old player objects|= | |p1= input: [[Array]] of [[Objects]] - Array of old player objects|PARAMETER1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[Array]] - Array with new player objects|= | | [[Array]] - Array with new player objects|RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 22: | Line 22: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[player]], [[allPlayers]], [[playableUnits]]|= | | [[player]], [[allPlayers]], [[playableUnits]]|SEEALSO= | ||
}} | }} | ||
Revision as of 14:34, 7 April 2019
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