BIS fnc getRespawnPositions: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|s1= +" to "|s1= ")
m (Text replacement - " |r1=[[" to " |r1= [[")
Line 12: Line 12:
|p1= input: [[Object]], [[Group]], [[Side]] or [[Namespace]] - Where the respawn positions are saved
|p1= input: [[Object]], [[Group]], [[Side]] or [[Namespace]] - Where the respawn positions are saved


|r1=[[Array]] - Array of respawn positions
|r1= [[Array]] - Array of respawn positions


|x1= <code>_respawnPositions = [[missionNamespace]] [[call]] [[BIS_fnc_getRespawnPositions]];</code>
|x1= <code>_respawnPositions = [[missionNamespace]] [[call]] [[BIS_fnc_getRespawnPositions]];</code>

Revision as of 22:26, 7 August 2021

Hover & click on the images for description

Description

Description:
Return scripted respawn positions available for the given unit.
Execution:
call
Groups:
Respawn

Syntax

Syntax:
input call BIS_fnc_getRespawnPositions
Parameters:
input: Object, Group, Side or Namespace - Where the respawn positions are saved
Return Value:
Array - Array of respawn positions

Examples

Example 1:
_respawnPositions = missionNamespace call BIS_fnc_getRespawnPositions;

Additional Information

See also:
Respawn functions

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