Arma 3 Scripting

BIS_fnc_sceneAreaClearance

  • Arma 3 v0.50
  • First in Arma 2 v1.00

Function · Markdown · JSON · original wiki page

Description

Removes object clutter within a set trigger, for use within cutscenes.

Syntax

[trigger, objects, destination] spawn BIS_fnc_sceneAreaClearance

Parameters:

Returns: Nothing

Examples

Example 1

[triggerArea1] spawn BIS_fnc_sceneAreaClearance;

Community notes

Tryteyker-

In regards to the 'safe position' where the objects get moved, this is how the function handles it (with default values present):

private _savepos = [_unwantedObjectsTempPosition, 0, 100, 20, 0, 60 * (pi / 180), 0] call BIS_fnc_findSafePos;
if ((_savepos distance (getArray (configFile >> "CfgWorlds" >> worldName >> "centerPosition"))) == 0) then
{
    _savepos = _unwantedObjectsTempPosition;
};
_x setPos _savepos;