createLocation

From Bohemia Interactive Community

Jump to: navigation, search
Editors, please check Policy: Scripting Command Page Syntax.
Introduced in Armed Assault version 1.08Effects of this scripting command are not broadcasted over the network and remain local to the client the command is executed on

Click on the images for descriptions

Introduced in

Game:
Armed Assault
Version:
1.08

Description

Description:
Creates a location of the specified class and dimensions at the specified position. Classes are defined in CfgLocationTypes.

Syntax

Syntax:
Location = createLocation ["ClassName", Position, sizeX, sizeY]
Parameters:
"ClassName" : String
Position
sizeX: Number in meters
sizeY: Number in meters
Return Value:
Location

Examples

Example 1:
myLocation = createLocation ["NameVillage", [4035,2151,10], 100, 100]

Additional Information

Multiplayer:
Behaviour unknown.

Notes

Notes

+ Add Note

Only post proven facts here. Use the talk page or the forums for discussions.

Notes

Location Types
Enlarge
Location Types

Possible location types are:

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

Bottom Section

Personal tools
Buy ArmA now!