BIS fnc GC: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Undo revision 236904 by R3vo (talk))
Tag: Undo
m (Text replacement - " " to " ")
Line 16: Line 16:


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



Revision as of 20:49, 10 June 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