createLocation: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) mNo edit summary |
Killzone Kid (talk | contribs) (see also) |
||
Line 28: | Line 28: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[setText]], [[nearestLocation]], [[nearestLocations]], [[locationPosition]], [[nearestLocationWithDubbing]] |= See also | | [[setText]], [[nearestLocation]], [[nearestLocations]], [[locationPosition]], [[nearestLocationWithDubbing]], [[setRectangular]], [[rectangular]] |= See also | ||
}} | }} |
Revision as of 14:42, 8 August 2015
Description
- Description:
- Creates a location of the specified class and dimensions at the specified position. Classes are defined in CfgLocationTypes.
- Groups:
- Uncategorised
Syntax
- Syntax:
- createLocation [className, position, sizeX, sizeY]
- Parameters:
- [className, position, sizeX, sizeY]: Array
- className: String - see Location Types
- position: Position2D, Position3D or Object
- sizeX: Number in meters
- sizeY: Number in meters
- Return Value:
- Location
Examples
- Example 1:
_location = createLocation ["NameVillage", [4035,2151,10], 100, 100];
Additional Information
- See also:
- setTextnearestLocationnearestLocationslocationPositionnearestLocationWithDubbingsetRectangularrectangular
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
Notes
- Posted on 12:25, 12 February 2010
- MaestrO.fr, TeaCup
-
Possible location types, see: Location Types
For the actual name text of the location, use setText.