createLocation [className, position, sizeX, sizeY]

Operand types

[className, position, sizeX, sizeY]: Array

Type of returned value

Description

Creates a location of the specified class and dimensions at the specified position.
Classes are defined in CfgLocationTypes.
The list of possible location types are:

* "Mount"
* "Name"
* "NameMarine"
* "NameCityCapital"
* "NameCity"
* "NameVillage"
* "NameLocal"
* "Hill"
* "ViewPoint"
* "RockArea"
* "BorderCrossing"
* "VegetationBroadleaf"
* "VegetationFir"
* "VegetationPalm"
* "VegetationVineyard"

Used In

ArmA

Example

_location = createLocation ["NameLocal", [4176,1027,22], 50, 50]
Search OFPEC COMREF