BIS fnc GC: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl>" to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| TKOH | | TKOH | ||
|1.00 | |1.00 | ||
|gr1 = Diagnostic | |gr1 = Diagnostic | ||
| Sends an entity to the garbage collection queue. Replaces [[Garbage_Collector|Arma 2 Garbage Collector]]. | | Sends an entity to the garbage collection queue. Replaces [[Garbage_Collector|Arma 2 Garbage Collector]]. | ||
| entity spawn [[BIS_fnc_GC]] | | entity spawn [[BIS_fnc_GC]] | ||
|exec= spawn | |exec= spawn | ||
|p1= '''entity''': [[Object]] or [[Group]] or [[String]] (marker) or [[Array]] (array of entities) | |p1= '''entity''': [[Object]] or [[Group]] or [[String]] (marker) or [[Array]] (array of entities) | ||
| [[Boolean]] - true if function was executed successfuly | | [[Boolean]] - true if function was executed successfuly | ||
|x1= <code>[dude1] [[spawn]] [[BIS_fnc_GC]];</code> | |x1= <code>[dude1] [[spawn]] [[BIS_fnc_GC]];</code> | ||
|x2= <code>[dude1, [[group]] dude1, "marker1"] [[spawn]] [[BIS_fnc_GC]];</code> | |x2= <code>[dude1, [[group]] dude1, "marker1"] [[spawn]] [[BIS_fnc_GC]];</code> | ||
| [[Garbage Collector]] | | [[Garbage Collector]] | ||
}} | }} | ||
Revision as of 22:20, 17 January 2021
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