BIS fnc getRespawnPositions: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Game name" to "|Game name=")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *W([a-z ])" to "$1 - w$2")
 
(29 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function|Comments=
{{RV|type=function
____________________________________________________________________________________________


| arma 3 |Game name=
|game1= arma3
|version1= 1.00


|1.00|= Game version
|gr1= Respawn
____________________________________________________________________________________________


| Return scripted respawn positions available for the given unit.|DESCRIPTION=
|descr= Return scripted respawn positions available for the given unit.
____________________________________________________________________________________________


| input call [[BIS_fnc_getRespawnPositions]] |SYNTAX=
|s1= input call [[BIS_fnc_getRespawnPositions]]
____________________________________________________________________________________________


|p1= input: [[Object]], [[Group]], [[Side]] or [[Namespace]] - Where the respawn positions are saved|PARAMETER1=
|p1= input: [[Object]], [[Group]], [[Side]] or [[Namespace]] - where the respawn positions are saved
____________________________________________________________________________________________


| [[Array]] - Array of respawn positions|RETURNVALUE=
|r1= [[Array]] - array of respawn positions ([[Position]], [[Object]] or [[String]]) - see [[BIS_fnc_addRespawnPosition]])
____________________________________________________________________________________________


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


| [[:Category:Function Group: Respawn|Respawn functions]] |SEEALSO=
|seealso= [[:Category:Function Group: Respawn|Respawn functions]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Respawn|{{uc:getRespawnPositions}}]]
[[Category:Functions|{{uc:getRespawnPositions}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:getRespawnPositions}}]]

Latest revision as of 17:35, 8 November 2023

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