BIS fnc respawnMenuPosition: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "(\|p[0-9]+ *= *[^(]+\(Optional(, default[^)]*)\) )I([a-z])" to "$1i$3") |
Lou Montana (talk | contribs) m (Text replacement - "(\|p[0-9]+ *= *[^(]+\(Optional(, default[^)]*)\) )R([a-z])" to "$1r$3") |
||
Line 12: | Line 12: | ||
|p1= player: [[Object]] - Player unit | |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]]) if unit was revived | |p3= revive: [[Boolean]] - (Optional, default [[false]]) if unit was revived |
Revision as of 12:32, 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 .