Difference between revisions of "VN ms fnc respawn addGroup"

From Savage Game Design Wiki
Jump to navigation Jump to search
vn>Unknown user
m (Generated by LM_exportFunctionsToWiki.sqf)
 
(Page filling)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
 
{{Function
 
{{Function
  
 
|v= 1.00
 
|v= 1.00
  
|a= Wyqer, veteran29
+
|author= Wyqer, veteran29
  
|e=
+
|a= global
 +
 
 +
|e= global
  
 
|g1= respawn
 
|g1= respawn
  
|d= <pre>/*
+
|d= Initializes group respawn on group.
    Author: Wyqer, veteran29
 
    Date: 2019-07-07
 
 
 
    Description:
 
        Initializes group respawn on group.
 
 
 
    Parameter(s):
 
        _group          - Group to add respawn to                          [GROUP, defaults to grpNull]
 
        _grpAssigned    - Group which should have given group as respawn    [GROUP, defaults to grpNull]
 
 
 
    Returns:
 
        Respawn position output data (same as bis fnc) [ARRAY]
 
*/
 
</pre><small>''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''</small>
 
  
|s= [] call [[vn_ms_fnc_respawn_addGroup]];
+
|s= [respawnGroup, respawningGroup] call [[VN_ms_fnc_respawn_addGroup]]
  
|p1n=
+
|p1n= respawnGroup
|p1t=
+
|p1t= group
|p1d=
+
|p1d= group on which respawn will happen
 
|p1v=
 
|p1v=
  
|p2n=
+
|p2n= respawningGroup
|p2t=
+
|p2t= group
|p2d=
+
|p2d= group to respawn - if not provided, will be ''respawnGroup''
|p2v=
+
|p2v= {{Biki|grpNull}}
  
|r1t=
+
|r1t= array
|r1d=
+
|r1d= format [target, id], respawn position output data - see {{Biki|BIS_fnc_addRespawnPosition}}
  
|x1= <code>-</code>
+
|x1= <code>[sogGroup] call [[VN_ms_fnc_respawn_addGroup]];</code>
 
}}
 
}}

Latest revision as of 22:02, 25 February 2021

← back to Functions Introduced in S.O.G. Prairie Fire v1.00
by Wyqer, veteran29
Argument(s): global
Effect(s): global

Description

Initializes group respawn on group.

Syntax

Syntax
[respawnGroup, respawningGroup] call VN_ms_fnc_respawn_addGroup
Parameters
respawnGroup: Group - group on which respawn will happen
respawningGroup: Group - (Optional, default grpNull) group to respawn - if not provided, will be respawnGroup
Return value
Array - format [target, id], respawn position output data - see BIS_fnc_addRespawnPosition

Examples

Example 1
[sogGroup] call VN_ms_fnc_respawn_addGroup;