removeFromRemainsCollector: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (fuckup, sorry)
No edit summary
 
(24 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


| arma3 |= Game name
|game1= arma3
|version1= 1.32


|1.32|= Game version
|gr1= Object Manipulation


|arg= global |= Arguments in MP
|arg= global


|eff= global |= Effects in MP
|eff= global
____________________________________________________________________________________________


| Removes vehicles/units from the garmage collector, so they do not get deleted automatically; added earlier with [[addToRemainsCollector]] |= Description
|descr= Removes vehicles/units from the garbage collector, so they do not get deleted automatically; added earlier with [[addToRemainsCollector]].
____________________________________________________________________________________________


| '''removeFromRemainsCollector''' remains |= Syntax
|s1= [[removeFromRemainsCollector]] remains


|p1= remains: [[Array]] - array of vehicles/units |= Parameter 1
|p1= remains: [[Array]] - array of vehicles/units


| [[Nothing]] |= RETURNVALUE
|r1= [[Nothing]]


|x1= <sqf>removeFromRemainsCollector [unit1, unit2, vehicle1];</sqf>


|x1= <code>[[removeFromRemainsCollector]] [unit1, unit2, vehicle1];</code>|= EXAMPLE1
|seealso= [[addToRemainsCollector]] [[isInRemainsCollector]] [[diag_remainsCollector]]
 
____________________________________________________________________________________________
 
| [[addToRemainsCollector]], [[isInRemainsCollector]] |= SEEALSO
 
|  |= MPBEHAVIOUR
____________________________________________________________________________________________
}}
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style='display:none'>Bottom Section</h3>
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 12:57, 18 March 2024

Hover & click on the images for description

Description

Description:
Removes vehicles/units from the garbage collector, so they do not get deleted automatically; added earlier with addToRemainsCollector.
Groups:
Object Manipulation

Syntax

Syntax:
removeFromRemainsCollector remains
Parameters:
remains: Array - array of vehicles/units
Return Value:
Nothing

Examples

Example 1:
removeFromRemainsCollector [unit1, unit2, vehicle1];

Additional Information

See also:
addToRemainsCollector isInRemainsCollector diag_remainsCollector

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