createLocation: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " +" to " ") |
Lou Montana (talk | contribs) m (Text replacement - "\| arma1 \|1.([0-9]{2}) \|([^g]|g[^a])" to "| arma1 |1.$1 |game2= arma2 |version2= 1.00 |game3= arma2oa |version3= 1.50 |game4= tkoh |version4= 1.00 |game5= arma3 |version5= 0.50 |$2") |
||
Line 2: | Line 2: | ||
| arma1 | | arma1 | ||
|1.08 | |||
|1. | |game2= arma2 | ||
|version2= 1.00 | |||
|game3= arma2oa | |||
|version3= 1.50 | |||
|game4= tkoh | |||
|version4= 1.00 | |||
|game5= arma3 | |||
|version5= 0.50 | |||
|eff=local | |eff=local |
Revision as of 22:36, 12 June 2021
Description
- Description:
- Description needed
- Groups:
- Locations
Syntax
- Syntax:
- Syntax needed
- 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];
- Example 2:
_location = createLocation ["NameVillage" , [4035,2151,10], 30, 30]; _location setText "Player town";
Additional Information
- See also:
- setTextnearestLocationnearestLocationslocationPositionnearestLocationWithDubbingsetRectangularrectangularsize
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