BIS fnc respawnMenuPosition: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<dl class="command_description"> <dt></dt>" to "<dl class="command_description"> <dt></dt>") |
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *P([a-gi-z ])" to "$1 - p$2") |
||
(11 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
|game1= arma3 | |game1= arma3 | ||
|version1= 1.00 | |version1= 1.00 | ||
Line 11: | Line 10: | ||
|s1= [player, respawnDelay, revive] call [[BIS_fnc_respawnMenuPosition]] | |s1= [player, respawnDelay, revive] call [[BIS_fnc_respawnMenuPosition]] | ||
|p1= player: [[Object]] - | |p1= player: [[Object]] - player unit | ||
|p2= respawnDelay: [[Number]] - (Optional, default 3) | |p2= respawnDelay: [[Number]] - (Optional, default 3) respawn delay | ||
|p3= revive: [[Boolean]] - (Optional, default [[false]]) | |p3= revive: [[Boolean]] - (Optional, default [[false]]) if unit was revived | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>[player,5] call BIS_fnc_respawnMenuPosition;</sqf> | ||
|seealso= [[Arma 3: Respawn]] | |seealso= [[Arma 3: Respawn]] | ||
}} | }} | ||
<dl class="command_description"> | <dl class="command_description"> | ||
<dt></dt> | <dt></dt> | ||
<dd class="notedate">Posted on | <dd class="notedate">Posted on 2021-01-15 - 18:14 (UTC)</dd> | ||
<dt class="note">[[User:Ilias38rus|Ilias38rus]]</dt> | <dt class="note">[[User:Ilias38rus|Ilias38rus]]</dt> | ||
<dd class="note"> | <dd class="note"> | ||
Use `setPlayerRespawnTime 0;` to respawn on selected position (certain gets selected by default), or position of death, if there is no the RP-s . | Use `setPlayerRespawnTime 0;` to respawn on selected position (certain gets selected by default), or position of death, if there is no the RP-s . | ||
</dd> | </dd> | ||
</dl> | </dl> |
Latest revision as of 15:45, 8 November 2023
Description
Syntax
- Syntax:
- [player, respawnDelay, revive] call BIS_fnc_respawnMenuPosition
- Parameters:
- player: Object - player unit
- respawnDelay: Number - (Optional, default 3) respawn delay
- revive: Boolean - (Optional, default false) if unit was revived
- Return Value:
- Nothing
Examples
- Example 1:
Additional Information
- See also:
- Arma 3: Respawn
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 2021-01-15 - 18:14 (UTC)
- Ilias38rus
- Use `setPlayerRespawnTime 0;` to respawn on selected position (certain gets selected by default), or position of death, if there is no the RP-s .