BIS fnc respawnGroup: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\{\{ *cc*\| *([^}]+) *\}\}" to "// $1") |
Lou Montana (talk | contribs) m (Text replacement - "= <code>([^<{]+)<\/code>" to "= <sqf>$1</sqf>") |
||
Line 16: | Line 16: | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>// in [[onPlayerRespawn.sqf]] | ||
params ["_newUnit", "_oldUnit", "_respawn", "_respawnDelay"]; | params ["_newUnit", "_oldUnit", "_respawn", "_respawnDelay"]; | ||
[_oldUnit, _newUnit] spawn BIS_fnc_respawnGroup;</ | [_oldUnit, _newUnit] spawn BIS_fnc_respawnGroup;</sqf> | ||
|exec= spawn | |exec= spawn |
Revision as of 17:00, 13 July 2022
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