BIS fnc GC: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|= |x2=" to "|Example1= |x2=") |
Lou Montana (talk | contribs) (Fix Category:Pages using duplicate arguments in template calls, syntax and examples) |
||
Line 10: | Line 10: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| entity spawn | | entity spawn [[BIS_fnc_GC]] |SYNTAX= | ||
|p1= '''entity''': [[Object]] or [[Group]] or [[String]] (marker) or [[Array]] (array of entities) |= | |exec= spawn | ||
|p1= '''entity''': [[Object]] or [[Group]] or [[String]] (marker) or [[Array]] (array of entities) |PARAMETER1= | |||
| [[Boolean]] - true if function was executed successfuly |RETURNVALUE= | | [[Boolean]] - true if function was executed successfuly |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>[dude1] spawn BIS_fnc_GC;</code>| | |x1= <code>[dude1] [[spawn]] [[BIS_fnc_GC]];</code> |EXAMPLE1= | ||
|x2= <code>[dude1, [[group]] dude1, "marker1"] spawn BIS_fnc_GC;</code>|= | |x2= <code>[dude1, [[group]] dude1, "marker1"] [[spawn]] [[BIS_fnc_GC]];</code> |EXAMPLE2= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| |SEEALSO= | | [[Garbage Collector]] |SEEALSO= | ||
}} | }} | ||
Revision as of 00:00, 12 January 2020
Description
- Description:
- Sends an entity to the garbage collection queue. Replaces Arma 2 Garbage Collector.
- Execution:
- spawn
- Groups:
- Uncategorised
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