BIS fnc respawnGroup: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "^ {{Function\|Comments\=" to "{{Function|Comments=")
(Page filling)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| ''N/A''<br>{{placeholder}} |DESCRIPTION=
| Camera script used by the "group respawn" template - when the player dies and gets transferred to the new group member. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_respawnGroup]]; --> |SYNTAX=
| [oldUnit, newUnit] call [[BIS_fnc_respawnGroup]] |SYNTAX=


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


| |RETURNVALUE=
|p2= newUnit: [[Object]] |PARAMETER2=
 
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________


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


| |SEEALSO=
|exec= spawn |EXECUTION=


| [[BIS fnc respawnMenuInventory]] [[BIS fnc respawnMenuPosition]] [[BIS fnc respawnMenuSpectator]]
[[BIS fnc respawnSeagull]] [[BIS fnc respawnSide]] [[BIS fnc respawnSpectator]] [[BIS fnc respawnWave]] |SEEALSO=
}}
}}


Line 33: Line 39:
<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Respawn|{{uc:respawnGroup}}]]
[[Category:Function Group: Respawn|{{uc:respawnGroup}}]]
[[Category:Functions|{{uc:respawnGroup}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:respawnGroup}}]]

Revision as of 11:20, 26 June 2020

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:
Uncategorised

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