Arma 3 Scripting

Function in Systems

BIS_fnc_locations

Also available as Markdown and JSON, or read the original wiki page.

Description

Creates or registers location logics (used in various modules, like Ambient Civilians, Ambient Civilian Vehicles or Warfare 2).

Upon registering, function will set following variables into location logic's variable space:

If you are registering currently existing object and some of variables above is already stored in it, it will not be replaced.

Syntax

Syntax 1

[types, area, debug] call BIS_fnc_locations

Parameters:

Returns: Array - list of registered locations

Syntax 2

[objects] call BIS_fnc_locations

Parameters:

Returns: Array - list of registered locations

Examples

Example 1

["CityCenter", [getPosATL player, 1000]] call BIS_fnc_locations;

Example 2

[["acityc_dolina"]] call BIS_fnc_locations;

Example 3

[[myLocation1, myLocation2], [], true] call BIS_fnc_locations;

See also

Functions Library

Community notes

Str

You can also use "" call BIS_fnc_locations for quick debug of all locations on landscape