addToRemainsCollector: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<h3 style='display:none'>Notes</h3> <dl class='command_description'> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> <h3 style='display:none'>Bottom Section</h3>" to "")
No edit summary
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command
{{RV|type=command


| arma3
|game1= arma3
 
|version1= 1.32
|1.32


|arg= global
|arg= global
Line 11: Line 10:
|gr1= Object Manipulation
|gr1= Object Manipulation


| Adds an array of vehicles/units to disposal manager for automatic wreck/body removal. The disposal manager follows wreck/body removal values set in [[description.ext]]
|descr= Adds an array of vehicles/units to disposal manager for automatic wreck/body removal. The disposal manager follows wreck/body removal values set in [[Description.ext|description.ext]]


| '''addToRemainsCollector''' remains
|s1= [[addToRemainsCollector]] remains


|p1= remains: [[Array]] of [[Object]]s - array of vehicles/units
|p1= remains: [[Array]] of [[Object]]s - array of vehicles/units


| [[Nothing]]
|r1= [[Nothing]]
 
 
|x1= <code>[[addToRemainsCollector]] [unit1, unit2, vehicle1];</code>
 


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


|
|seealso= [[removeFromRemainsCollector]] [[isInRemainsCollector]] [[diag_remainsCollector]]
}}
}}
{{GameCategory|arma3|New Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 12:57, 18 March 2024

Hover & click on the images for description

Description

Description:
Adds an array of vehicles/units to disposal manager for automatic wreck/body removal. The disposal manager follows wreck/body removal values set in description.ext
Groups:
Object Manipulation

Syntax

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

Examples

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

Additional Information

See also:
removeFromRemainsCollector 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