BIS fnc addRespawnPosition: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Arma 3 ([^ACHJKLMTZ|])([^|]+)\]\]" to "Arma 3: $1$2") |
Lou Montana (talk | contribs) m (Text replacement - " " to " ") |
||
Line 27: | Line 27: | ||
| [[Array]] - format [target,id] (used in [[BIS_fnc_removeRespawnPosition]]) | | [[Array]] - format [target,id] (used in [[BIS_fnc_removeRespawnPosition]]) | ||
|x1= <code><nowiki>[</nowiki>[[west]], myRespawnAPC] [[call]] [[BIS_fnc_addRespawnPosition]];</code> | |x1= <code><nowiki>[</nowiki>[[west]], myRespawnAPC] [[call]] [[BIS_fnc_addRespawnPosition]];</code> | ||
Revision as of 20:50, 10 June 2021
Description
- Description:
- Description needed
- Execution:
- call
- Groups:
- Respawn
Syntax
- Syntax:
- Syntax needed
- Parameters:
- target: Receiver of the respawn position
- Namespace - use missionNamespace to add the position to everyone
- Side
- Group
- Object
- position:
- name (optional):
- String - respawn name, can be text or link to localization key
- Return Value:
- Return value needed
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 July 1, 2016 - 11:22 (UTC)
- Krzmbrzl00
- 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