nearHierarchyItems (VBS2)
From Bohemia Interactive Community
| This function is no longer available in VBS2. |
| Editors, please check Policy: Scripting Command Page Syntax. |
Click on the images for descriptions
Introduced in
- Game:
- Virtual Battlespace 2
- Version:
- 1.00
Description
- Description:
- Find items in the circle with given radius. If typeName is given, only objects of given type (or its subtype) are listed.
Syntax
- Syntax:
- position nearHierarchyItems radius or [type, radius]
- Parameters:
- position: Position3D -
- radius: Number -
- type: String -
- Return Value:
- Array
Examples
- Example 1:
_list = position player nearHierarchyItems 50
Additional Information
- Multiplayer:
- Behaviour unknown.
- See also:
- nearestObjects

