BIS fnc updatePlayerArray: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Function|Comments= | {{Function|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 7: | Line 6: | ||
|gr1= Respawn |GROUP1= | |gr1= Respawn |GROUP1= | ||
| Updates dead player objects to their current respawned objects. |DESCRIPTION= | | Updates dead player objects to their current respawned objects. |DESCRIPTION= | ||
| [input] call [[BIS_fnc_updatePlayerArray]] |SYNTAX= | | [input] call [[BIS_fnc_updatePlayerArray]] |SYNTAX= | ||
|p1= input: [[Array]] of [[Object]]s - Array of old player objects|PARAMETER1= | |p1= input: [[Array]] of [[Object]]s - Array of old player objects|PARAMETER1= | ||
| [[Array]] - Array with new player objects|RETURNVALUE= | | [[Array]] - Array with new player objects|RETURNVALUE= | ||
|x1= <code>_newPlayerObjects = _oldPlayerObjects [[call]] [[BIS_fnc_updatePlayerArray]];</code> |= | |x1= <code>_newPlayerObjects = _oldPlayerObjects [[call]] [[BIS_fnc_updatePlayerArray]];</code> |= | ||
| [[player]], [[allPlayers]], [[playableUnits]]|SEEALSO= | | [[player]], [[allPlayers]], [[playableUnits]]|SEEALSO= |
Revision as of 00:03, 17 January 2021
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:
_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