BIS fnc respawnGroup: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Game version" to "|Game version=")
m (Text replacement - "[[BIS fnc " to "[[BIS_fnc_")
 
(27 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{RV|type=function


{{Function|Comments=
|game1= arma3
____________________________________________________________________________________________
|version1= 1.00


| arma3 |Game name=
|gr1= Respawn


|1.00|Game version=
|descr= Camera script used by the "group respawn" template - when the player dies and gets transferred to the new group member.
____________________________________________________________________________________________


| ''N/A'' |DESCRIPTION=
|s1= [oldUnit, newUnit] call [[BIS_fnc_respawnGroup]]
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_respawnGroup]]; --> |SYNTAX=
|p1= oldUnit: [[Object]]


|p1= |PARAMETER1=
|p2= newUnit: [[Object]]


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


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


| |SEEALSO=
|exec= spawn


|seealso=    [[BIS_fnc_respawnMenuInventory]] [[BIS_fnc_respawnMenuPosition]] [[BIS_fnc_respawnMenuSpectator]] [[BIS_fnc_respawnSeagull]] [[BIS_fnc_respawnSide]] [[BIS_fnc_respawnSpectator]] [[BIS_fnc_respawnWave]]
}}
}}
<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}}]]
[[Category:Functions|{{uc:respawnGroup}}]]
[[Category:{{Name|arma3}}: Functions|{{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