BIS fnc updatePlayerArray: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
m (pf) |
||
Line 1: | Line 1: | ||
{{Function|= Comments | {{Function|= Comments | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | arma 3 |= Game name | ||
|1.00|= Game version | |1.00|= Game version | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Updates dead player objects to their current respawned objects. |= Description | ||
____________________________________________________________________________________________ | |||
| [input] call [[BIS_fnc_updatePlayerArray]] |= Syntax | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | |p1= input: [[Array]] of [[Objects]] - Array of old player objects|= Parameter 1 | ||
____________________________________________________________________________________________ | |||
| | | [[Array]] - Array with new player objects|= Return value | ||
____________________________________________________________________________________________ | |||
| |= | |x1= <code>_newPlayerObjects = _oldPlayerObjects [[call]] [[BIS_fnc_updatePlayerArray]];</code> |= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[player]], [[allPlayer]], [[playableUnits]]|= See also | ||
}} | |||
<h3 style="display:none">Notes</h3> | <h3 style="display:none">Notes</h3> |
Revision as of 15:51, 5 June 2018
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