BIS fnc removeRespawnInventory: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
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


|1.00|= Game version
|0.74|= Game version
 
|eff= global |=
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
| Remove a respawn inventory added by [[BIS_fnc_addRespawnInventory]]. |= Description
 
Description:
Remove a respawn inventory
 
Parameter(s):
0:
NAMESPACE
SIDE
GROUP
OBJECT
1: NUMBER - id or class from CfgInventories of CfgVehicles
(both parameters were returned by BIS_fnc_addRespawnInventory)
 
Returns:
BOOL
*/
 
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_removeRespawnInventory]]; --> |= Syntax
| [target,id] spawn BIS_fnc_addRespawnInventory; |= Syntax


|p1= |= Parameter 1
|p1= '''target''': [[Namespace]] or [[Side]] or [[Group]] or [[Object]]|=
|p2= '''id''': [[Number]]|=


| |= Return value
| [[Boolean]] |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________
 
|x1= <code><nowiki>[</nowiki>[[west]], 1] call BIS_fnc_removeRespawnInventory;</code> |=


|x1= <code></code> |=  
|x2= <code>myRespawnInventory = <nowiki>[</nowiki>[[missionNamespace]],"ATSniper"] call [[BIS_fnc_addRespawnInventory]];
myRespawnInventory call BIS_fnc_removeRespawnInventory;
</code> |=
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= See also
| [[Arma 3 Respawn]] |= See also


}}
}}
Line 51: Line 39:


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Respawn|{{uc:removeRespawnInventory}}]]
 
[[Category:Functions|{{uc:removeRespawnInventory}}]]
[[Category:Arma 3:_Functions|addRespawnInventory]]
[[Category:{{Name|arma3}}: Functions|{{uc:removeRespawnInventory}}]]

Revision as of 07:36, 31 July 2013

Hover & click on the images for description

Description

Description:
Remove a respawn inventory added by BIS_fnc_addRespawnInventory.
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
[target,id] spawn BIS_fnc_addRespawnInventory;
Parameters:
target: Namespace or Side or Group or Object
id: Number
Return Value:
Boolean

Examples

Example 1:
[west, 1] call BIS_fnc_removeRespawnInventory;
Example 2:
myRespawnInventory = [missionNamespace,"ATSniper"] call BIS_fnc_addRespawnInventory; myRespawnInventory call BIS_fnc_removeRespawnInventory;

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

Notes

Bottom Section