BIS fnc GC: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category\:Function Group\: Debug(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\] " to "")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Function|Comments=
{{Function|Comments=
____________________________________________________________________________________________


| TKOH |Game name=
| TKOH |Game name=
Line 7: Line 6:


|gr1 = Diagnostic |GROUP1=
|gr1 = Diagnostic |GROUP1=
____________________________________________________________________________________________


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


| entity spawn [[BIS_fnc_GC]] |SYNTAX=
| entity spawn [[BIS_fnc_GC]] |SYNTAX=
Line 19: Line 16:


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


|x2= <code>[dude1, [[group]] dude1, "marker1"] [[spawn]] [[BIS_fnc_GC]];</code> |EXAMPLE2=
|x2= <code>[dude1, [[group]] dude1, "marker1"] [[spawn]] [[BIS_fnc_GC]];</code> |EXAMPLE2=
____________________________________________________________________________________________


| [[Garbage Collector]] |SEEALSO=
| [[Garbage Collector]] |SEEALSO=

Revision as of 22:54, 16 January 2021

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

Notes

Bottom Section