BIS fnc updatePlayerArray: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3>" to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects? in MP|Multiplayer Effects(...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function| arma3|1.00|gr1= Respawn| Updates dead player objects to their current respawned objects.| [input] call [[BIS_fnc_updatePlayerArray]]|p1= input: [[Array]] of [[Object]]s - Array of old player objects| [[Array]] - Array with new player objects|x1= <code>_newPlayerObjects = _oldPlayerObjects [[call]] [[BIS_fnc_updatePlayerArray]];</code> | ||
| arma3 | |||
|1.00 | |||
|gr1= Respawn | |||
| Updates dead player objects to their current respawned objects. | |||
| [input] call [[BIS_fnc_updatePlayerArray]] | |||
|p1= input: [[Array]] of [[Object]]s - Array of old player objects | |||
| [[Array]] - Array with new player objects | |||
|x1= <code>_newPlayerObjects = _oldPlayerObjects [[call]] [[BIS_fnc_updatePlayerArray]];</code> | |||
| [[player]], [[allPlayers]], [[playableUnits]]|SEEALSO= | | [[player]], [[allPlayers]], [[playableUnits]]|SEEALSO= |
Revision as of 10:02, 18 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