BIS fnc respawnGroup: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "|Game version=" to "|Game version= |gr1= Respawn |GROUP1=") |
Lou Montana (talk | contribs) m (Text replacement - "[[BIS fnc " to "[[BIS_fnc_") |
||
(23 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=function | ||
| arma3 | | |game1= arma3 | ||
|version1= 1.00 | |||
| | |gr1= Respawn | ||
| | |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]] | ||
| | |p1= oldUnit: [[Object]] | ||
| | |p2= newUnit: [[Object]] | ||
| | |r1= [[Nothing]] | ||
| [[ | |x1= <sqf> | ||
// in onPlayerRespawn.sqf | |||
params ["_newUnit", "_oldUnit", "_respawn", "_respawnDelay"]; | |||
[_oldUnit, _newUnit] spawn BIS_fnc_respawnGroup; | |||
</sqf> | |||
| | |exec= spawn | ||
| | |seealso= [[BIS_fnc_respawnMenuInventory]] [[BIS_fnc_respawnMenuPosition]] [[BIS_fnc_respawnMenuSpectator]] [[BIS_fnc_respawnSeagull]] [[BIS_fnc_respawnSide]] [[BIS_fnc_respawnSpectator]] [[BIS_fnc_respawnWave]] | ||
[[ | |||
}} | }} | ||
Latest revision as of 18:04, 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:
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