BIS fnc respawnGroup: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| arma3 | | arma3 | ||
|1.00 | |1.00 | ||
|gr1= Respawn | |gr1= Respawn | ||
| Camera script used by the "group respawn" template - when the player dies and gets transferred to the new group member. | | Camera script used by the "group respawn" template - when the player dies and gets transferred to the new group member. | ||
| [oldUnit, newUnit] call [[BIS_fnc_respawnGroup]] | | [oldUnit, newUnit] call [[BIS_fnc_respawnGroup]] | ||
|p1= oldUnit: [[Object]] | |p1= oldUnit: [[Object]] | ||
|p2= newUnit: [[Object]] | |p2= newUnit: [[Object]] | ||
| [[Nothing]] | | [[Nothing]] | ||
|x1= <code>{{cc|in [[onPlayerRespawn.sqf]]}} | |x1= <code>{{cc|in [[onPlayerRespawn.sqf]]}} | ||
[[params]] ["_newUnit", "_oldUnit", "_respawn", "_respawnDelay"]; | [[params]] ["_newUnit", "_oldUnit", "_respawn", "_respawnDelay"]; | ||
[_oldUnit, _newUnit] [[spawn]] [[BIS_fnc_respawnGroup]];</code> | [_oldUnit, _newUnit] [[spawn]] [[BIS_fnc_respawnGroup]];</code> | ||
|exec= spawn |EXECUTION= | |exec= spawn |EXECUTION= | ||
| [[BIS fnc respawnMenuInventory]] [[BIS fnc respawnMenuPosition]] [[BIS fnc respawnMenuSpectator]] | | [[BIS fnc respawnMenuInventory]] [[BIS fnc respawnMenuPosition]] [[BIS fnc respawnMenuSpectator]] | ||
[[BIS fnc respawnSeagull]] [[BIS fnc respawnSide]] [[BIS fnc respawnSpectator]] [[BIS fnc respawnWave]] | [[BIS fnc respawnSeagull]] [[BIS fnc respawnSide]] [[BIS fnc respawnSpectator]] [[BIS fnc respawnWave]] | ||
}} | }} | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> |
Revision as of 23:40, 17 January 2021
Description
- Description:
- Camera script used by the "group respawn" template - when the player dies and gets transferred to the new group member.
- Execution:
- spawn
- Groups:
- Respawn
Syntax
- Syntax:
- [oldUnit, newUnit] call BIS_fnc_respawnGroup
- Parameters:
- oldUnit: Object
- newUnit: Object
- Return Value:
- Nothing
Examples
- Example 1:
// in onPlayerRespawn.sqf params ["_newUnit", "_oldUnit", "_respawn", "_respawnDelay"]; [_oldUnit, _newUnit] spawn BIS_fnc_respawnGroup;
Additional Information
- See also:
- BIS fnc respawnMenuInventory BIS fnc respawnMenuPosition BIS fnc respawnMenuSpectator BIS fnc respawnSeagull BIS fnc respawnSide BIS fnc respawnSpectator BIS fnc respawnWave
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