BIS fnc respawnGroup: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Page filling)
m (Text replacement - "[[BIS fnc " to "[[BIS_fnc_")
 
(24 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function|Comments=
{{RV|type=function
____________________________________________________________________________________________


| arma3 |Game name=
|game1= arma3
|version1= 1.00


|1.00|Game version=
|gr1= Respawn
____________________________________________________________________________________________


| Camera script used by the "group respawn" template - when the player dies and gets transferred to the new group member. |DESCRIPTION=
|descr= 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]] |SYNTAX=
|s1= [oldUnit, newUnit] call [[BIS_fnc_respawnGroup]]


|p1= oldUnit: [[Object]] |PARAMETER1=
|p1= oldUnit: [[Object]]


|p2= newUnit: [[Object]] |PARAMETER2=
|p2= newUnit: [[Object]]


| [[Nothing]] |RETURNVALUE=
|r1= [[Nothing]]
____________________________________________________________________________________________


|x1= <code>{{cc|in [[onPlayerRespawn.sqf]]}}
|x1= <sqf>
[[params]] ["_newUnit", "_oldUnit", "_respawn", "_respawnDelay"];
// in onPlayerRespawn.sqf
[_oldUnit, _newUnit] [[spawn]] [[BIS_fnc_respawnGroup]];</code> |EXAMPLE1=
params ["_newUnit", "_oldUnit", "_respawn", "_respawnDelay"];
____________________________________________________________________________________________
[_oldUnit, _newUnit] spawn BIS_fnc_respawnGroup;
</sqf>


|exec= spawn |EXECUTION=
|exec= spawn


| [[BIS fnc respawnMenuInventory]] [[BIS fnc respawnMenuPosition]] [[BIS fnc respawnMenuSpectator]]
|seealso=    [[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]] |SEEALSO=
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Respawn|{{uc:respawnGroup}}]]

Latest revision as of 18:04, 13 July 2022

Hover & click on the images for description

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