BIS fnc respawnGroup: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(\[[a-zA-Z,. ]*\] call ('''|\[\[)?BI(N|S)_fnc_[a-zA-Z]+('''|\]\])?) * \|p1=" to " |s1=$1 |p1=")
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=]{12})" to "|$1=$2 |descr=$3")
Line 7: Line 7:
|gr1= Respawn
|gr1= Respawn


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


|s1=[oldUnit, newUnit] call [[BIS_fnc_respawnGroup]]
|s1=[oldUnit, newUnit] call [[BIS_fnc_respawnGroup]]

Revision as of 21:53, 13 June 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:
See also needed

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