addToRemainsCollector: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(38 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


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


|1.27|= Game version
|arg= global


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


|eff= global |= Effects in MP
|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]] |= Description
|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 |= Syntax
|s1= [[addToRemainsCollector]] remains


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


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


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


|x1= <code>[[addToRemainsCollector]] [unit1, unit2, vehicle1];</code>|= EXAMPLE1
|seealso= [[removeFromRemainsCollector]] [[isInRemainsCollector]] [[diag_remainsCollector]]
 
____________________________________________________________________________________________
 
| [[removeFromRemainsCollector]], [[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:
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