BIS fnc GC: Difference between revisions

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


{{Function|= Comments
|game1= tkoh
____________________________________________________________________________________________
|version1= 1.00


| tkoh |= Game name
|game2= arma3
|version2= 0.50


|1.00|= Game version
|gr1= Diagnostic
____________________________________________________________________________________________


| <pre>/*
|descr= Sends an entity to the garbage collection queue. Replaces [[Arma_2:_Garbage_Collector|Arma 2 Garbage Collector]].


Description:
|s1= entity spawn [[BIS_fnc_GC]]
Sends an entity to the garbage collection queue.


Parameter(s):
|exec= spawn
_this select 0: the entity
Returns:
Success flag (Boolean).
*/


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
|p1= entity: [[Object]] or [[Group]] or [[String]] (marker) or [[Array]] (array of entities)
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_GC]]; --> |= Syntax
|r1= [[Boolean]] - true if function was executed successfuly


|p1= |= Parameter 1
|x1= <sqf>[dude1] spawn BIS_fnc_GC;</sqf>


| |= Return value
|x2= <sqf>[dude1, group dude1, "marker1"] spawn BIS_fnc_GC;</sqf>
____________________________________________________________________________________________
 
|x1= <code></code> |=
____________________________________________________________________________________________
 
| |= See also


|seealso= [[Garbage Collector]]
}}
}}
<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:Function Group: Debug|{{uc:GC}}]]
[[Category:Functions|{{uc:GC}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:GC}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:GC}}]]

Latest revision as of 23: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