BIS fnc respawnGroup: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "^ {{Function\|Comments\=" to "{{Function|Comments=") |
Lou Montana (talk | contribs) (Page filling) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | 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= | ||
|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= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | |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}}]] | ||
Revision as of 10:20, 26 June 2020
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