BIS fnc addRespawnInventory: Difference between revisions
Jump to navigation
Jump to search
inventory: String - CfgRespawnInventory class Return Value:
Array in format [target,id] (used in BIS_fnc_removeRespawnInventory)
m (Generated by BIS_fnc_exportFunctionsToWiki) |
m (Created page with "{{Function|= Comments ____________________________________________________________________________________________ | arma3 |= Game name |0.74|= Game version |eff= global |= __...") |
||
Line 1: | Line 1: | ||
{{Function|= Comments | {{Function|= Comments | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 5: | Line 4: | ||
| arma3 |= Game name | | arma3 |= Game name | ||
| | |0.74|= Game version | ||
|eff= global |= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Add a respawn inventory for [[Arma 3 Respawn#MenuInventory|respawn menu]]. | ||
Available loadouts are defined in ''CfgRespawnInventory'' in [[Description.ext]]. | |||
|= Description | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| < | | [<target>,<inventory>] spawn BIS_fnc_addRespawnInventory; |= Syntax | ||
|p1= |= | |p1= '''target''': Receiver of the respawn loadout | ||
: [[Namespace]] - use [[missionNamespace]] to add the loadout to everyone | |||
: [[Side]] | |||
: [[Group]] | |||
: [[Object]]|= | |||
|p2= '''inventory''': [[String]] - ''CfgRespawnInventory'' class | |||
| |= Return value | | [[Array]] in format [target,id] (used in [[BIS_fnc_removeRespawnInventory]]) |= Return value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code><nowiki>[</nowiki>[[west]], "WEST1"] call BIS_fnc_addRespawnInventory;</code> |= | |||
| | |x2= <code><nowiki>[</nowiki>[[missionNamespace]],"ATSniper"] call BIS_fnc_addRespawnInventory;</code> |= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| |= See also | | [[Arma 3 Respawn]] |= See also | ||
}} | }} | ||
Line 50: | Line 44: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
[[Category:Arma 3:_Functions|addRespawnInventory]] | |||
[[Category: |
Revision as of 07:35, 31 July 2013
Description
- Description:
- Add a respawn inventory for respawn menu. Available loadouts are defined in CfgRespawnInventory in Description.ext.
- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- [<target>,<inventory>] spawn BIS_fnc_addRespawnInventory;
- Parameters:
- target: Receiver of the respawn loadout
- Namespace - use missionNamespace to add the loadout to everyone
- Side
- Group
- Object
Examples
- Example 1:
[west, "WEST1"] call BIS_fnc_addRespawnInventory;
- Example 2:
[missionNamespace,"ATSniper"] call BIS_fnc_addRespawnInventory;
Additional Information
- See also:
- Arma 3 Respawn
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