findEmptyPosition: Difference between revisions
Jump to navigation
Jump to search
(populated) |
(add. classification) |
||
Line 41: | Line 41: | ||
[[Category:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]] | [[Category:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] |
Revision as of 03:47, 16 June 2009
Description
- Description:
- Search for the position nearest (up to maxDistance) to the center,with,the free area (vehicle of the given type can be placed anywhere) of the,given radius. When not found,empty array is returned.
- Groups:
- Uncategorised
Syntax
- Syntax:
- center findEmptyPosition [radius,maxDistance] or [radius,maxDistance,vehicleType]
- Parameters:
- center: Array -
- [radius,maxDistance,vehicleType]: Array -
- Return Value:
- Array
Examples
- Example 1:
(example)
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