BIS fnc respawnGroup: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "| Nothing |x1=" to "|r1= Nothing |x1=")
m (Text replacement - " \| *(\[[a-zA-Z,. ]*\] call ('''|\[\[)?BI(N|S)_fnc_[a-zA-Z]+('''|\]\])?) * \|p1=" to " |s1=$1 |p1=")
Line 9: Line 9:
| 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]]
|s1=[oldUnit, newUnit] call [[BIS_fnc_respawnGroup]]


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

Revision as of 15:56, 12 June 2021

Hover & click on the images for description

Description

Description:
Description needed
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