BIS fnc getRespawnPositions: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "| arma 3 |Game name=" to "| arma3 |Game name=") |
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *W([a-z ])" to "$1 - w$2") |
||
(25 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=function | ||
| arma3 | | |game1= arma3 | ||
|version1= 1.00 | |||
| | |gr1= Respawn | ||
| | |descr= Return scripted respawn positions available for the given unit. | ||
| | |s1= input call [[BIS_fnc_getRespawnPositions]] | ||
| input | |p1= input: [[Object]], [[Group]], [[Side]] or [[Namespace]] - where the respawn positions are saved | ||
| | |r1= [[Array]] - array of respawn positions ([[Position]], [[Object]] or [[String]]) - see [[BIS_fnc_addRespawnPosition]]) | ||
| [[ | |x1= <sqf>private _respawnPositions = missionNamespace call BIS_fnc_getRespawnPositions; // can be e.g [bis_o1, [1337, 4200, 0.01], "myMarker", myVehicle]</sqf> | ||
| | |seealso= [[:Category:Function Group: Respawn|Respawn functions]] | ||
}} | }} | ||
Latest revision as of 16:35, 8 November 2023
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