BIS fnc getRespawnPositions: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^<]*) *<\/code>" to "<code>$1$2$3</code>")
m (Text replacement - "<code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^<]*) *<\/code>" to "<code>$1$2$3</code>")
Line 14: Line 14:
|r1= [[Array]] - Array of respawn positions ([[Position]], [[Object]] or [[String]]) - see [[BIS_fnc_addRespawnPosition]])
|r1= [[Array]] - Array of respawn positions ([[Position]], [[Object]] or [[String]]) - see [[BIS_fnc_addRespawnPosition]])


|x1= <code>private _respawnPositions = missionNamespace call [[BIS_fnc_getRespawnPositions]]; {{cc|can be e.g [bis_o1, [1337, 4200, 0.01], "myMarker", myVehicle]}}</code>
|x1= <code>private _respawnPositions = missionNamespace call BIS_fnc_getRespawnPositions; {{cc|can be e.g [bis_o1, [1337, 4200, 0.01], "myMarker", myVehicle]}}</code>


|seealso= [[:Category:Function Group: Respawn|Respawn functions]]
|seealso= [[:Category:Function Group: Respawn|Respawn functions]]
}}
}}

Revision as of 22:38, 12 July 2022

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 (Position, Object or String) - see BIS_fnc_addRespawnPosition)

Examples

Example 1:
private _respawnPositions = missionNamespace call BIS_fnc_getRespawnPositions; // can be e.g [bis_o1, [1337, 4200, 0.01], "myMarker", myVehicle]

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