BIS fnc addRespawnPosition: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Some wiki formatting) |
m (game version to note) |
||
Line 33: | Line 33: | ||
|user= Krzmbrzl00 | |user= Krzmbrzl00 | ||
|timestamp= 20160601112200 | |timestamp= 20160601112200 | ||
|game= arma3 | |||
|text= Make sure the used [[Position]] is in format [[Position3D]] (i.e. it contains a third coordinate (z-coordinate)) because otherwise you will get an error as soon as you open the respawn screen and you will be respawned at position [0,0,0] (lower left corner of the map), although the map marker for the spawn position is placed as intended | |text= Make sure the used [[Position]] is in format [[Position3D]] (i.e. it contains a third coordinate (z-coordinate)) because otherwise you will get an error as soon as you open the respawn screen and you will be respawned at position [0,0,0] (lower left corner of the map), although the map marker for the spawn position is placed as intended | ||
}} | }} |
Revision as of 08:13, 29 August 2021
Description
- Description:
- Add a respawn position for the Arma 3 Respawn Menu.
- Execution:
- call
- Groups:
- Respawn
Syntax
- Syntax:
- [target, position, name] call BIS_fnc_addRespawnPosition
- Parameters:
- target: Namespace, Side, Group or Object - receiver of the respawn position. Use missionNamespace to add the position to everyone
- position: Array, Object or String
- name: String - (Optional) respawn name, can be text or link to localization key
- Return Value:
- Array - format [target,id] (used in BIS_fnc_removeRespawnPosition)
Examples
- Example 1:
[west, myRespawnAPC] call BIS_fnc_addRespawnPosition;
- Example 2:
myRespawn = [missionNamespace,"arena","Battle Arena"] call BIS_fnc_addRespawnPosition;
Additional Information
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
- Posted on Jun 01, 2016 - 11:22 (UTC)
-
Make sure the used Position is in format Position3D (i.e. it contains a third coordinate (z-coordinate)) because otherwise you will get an error as soon as you open the respawn screen and you will be respawned at position [0,0,0] (lower left corner of the map), although the map marker for the spawn position is placed as intended