createLocation

From Bohemia Interactive Community
Revision as of 00:01, 27 January 2008 by Kronzky (talk | contribs) ("thumbnailed" image)
Jump to navigation Jump to search
-wrong parameter ("Arma") defined!-1.08
Hover & click on the images for description

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

Location Types

Here's all (?) CfgLocationTypes. First one (0) is Mount and is used for all elevation points on a map. --Doolittle 04:14, 29 November 2007 (CET)

Bottom Section