BIS fnc GC: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^<]*) *<\/code>" to "<code>$1$2$3</code>")
m (Text replacement - "<code> *([^<|{]*) *<\/code>" to "<sqf>$1</sqf>")
 
(2 intermediate revisions by the same user not shown)
Line 21: Line 21:
|x1= <sqf>[dude1] spawn BIS_fnc_GC;</sqf>
|x1= <sqf>[dude1] spawn BIS_fnc_GC;</sqf>


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


|seealso= [[Garbage Collector]]
|seealso= [[Garbage Collector]]
}}
}}

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