findEmptyPosition: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
||
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_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] |
Revision as of 11:09, 2 November 2011
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:
- selectBestPlacesisFlatEmpty
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