createLocation: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(has local effect (according to dschulle)) |
||
Line 8: | Line 8: | ||
|arg= |= Arguments in MP | |arg= |= Arguments in MP | ||
|eff= |= Effects in MP | |eff=local |= Effects in MP | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Creates a location of the specified class and dimensions at the specified position. Classes are defined in CfgLocationTypes|= Description | | Creates a location of the specified class and dimensions at the specified position. Classes are defined in CfgLocationTypes. |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 07:44, 4 September 2008
Description
- Description:
- Creates a location of the specified class and dimensions at the specified position. Classes are defined in CfgLocationTypes.
- Groups:
- Uncategorised
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
- See also:
- See also needed
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
- Mount
- Name
- NameMarine
- NameCityCapital
- NameCity
- NameVillage
- NameLocal
- Hill
- ViewPoint
- RockArea
- BorderCrossing
- VegetationBroadleaf
- VegetationFir
- VegetationPalm
- VegetationVineyard
Possible location types are: