BIS fnc GC: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "<code> *([^<|{]*) *<\/code>" to "<sqf>$1</sqf>")
 
(29 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Function|= Comments
{{RV|type=function
____________________________________________________________________________________________


| TKOH |= Game name
|game1= tkoh
|version1= 1.00


|1.00|= Game version
|game2= arma3
____________________________________________________________________________________________
|version2= 0.50


| Sends an entity to the garbage collection queue. Replaces [[Garbage_Collector|Arma 2 Garbage Collector]]. |= Description
|gr1= Diagnostic
____________________________________________________________________________________________


| entity spawn GC; |= Syntax
|descr= Sends an entity to the garbage collection queue. Replaces [[Arma_2:_Garbage_Collector|Arma 2 Garbage Collector]].


|p1= '''entity''': [[Object]] or [[Group]] or [[String]] (marker) or [[Array]] (array of entities) |=
|s1= entity spawn [[BIS_fnc_GC]]


| [[Boolean]] - true if function was executed successfuly |= Return value
|exec= spawn
____________________________________________________________________________________________
 
|x1= <code>[dude1] spawn BIS_fnc_GC;</code>|=


|x2= <code>[dude1, [[group]] dude1, "marker1"] spawn BIS_fnc_GC;</code>|=
|p1= entity: [[Object]] or [[Group]] or [[String]] (marker) or [[Array]] (array of entities)
____________________________________________________________________________________________


| |= See also
|r1= [[Boolean]] - true if function was executed successfuly


}}
|x1= <sqf>[dude1] spawn BIS_fnc_GC;</sqf>


<h3 style="display:none">Notes</h3>
|x2= <sqf>[dude1, group dude1, "marker1"] spawn BIS_fnc_GC;</sqf>
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
|seealso= [[Garbage Collector]]
</dl>
}}
 
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Take_On_Helicopters:_Functions|gc]]

Latest revision as of 22:44, 12 July 2022

Hover & click on the images for description

Description

Description:
Sends an entity to the garbage collection queue. Replaces Arma 2 Garbage Collector.
Execution:
spawn
Groups:
Diagnostic

Syntax

Syntax:
entity spawn BIS_fnc_GC
Parameters:
entity: Object or Group or String (marker) or Array (array of entities)
Return Value:
Boolean - true if function was executed successfuly

Examples

Example 1:
[dude1] spawn BIS_fnc_GC;
Example 2:
[dude1, group dude1, "marker1"] spawn BIS_fnc_GC;

Additional Information

See also:
Garbage Collector

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