BIS fnc respawnGroup: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category\:Function Group\: Respawn(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Function|Comments=
{{Function|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
| arma3 |Game name=
Line 7: Line 6:


|gr1= Respawn |GROUP1=
|gr1= Respawn |GROUP1=
____________________________________________________________________________________________


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


| [oldUnit, newUnit] call [[BIS_fnc_respawnGroup]] |SYNTAX=
| [oldUnit, newUnit] call [[BIS_fnc_respawnGroup]] |SYNTAX=
Line 19: Line 16:


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


|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> |EXAMPLE1=
[_oldUnit, _newUnit] [[spawn]] [[BIS_fnc_respawnGroup]];</code> |EXAMPLE1=
____________________________________________________________________________________________


|exec= spawn |EXECUTION=
|exec= spawn |EXECUTION=

Revision as of 23:54, 16 January 2021

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

Notes

Bottom Section