nearestObject type
From Bohemia Interactive Community
| Editors, please check Policy: Scripting Command Page Syntax. |
Click on the images for descriptions
Introduced in
- Game:
- Armed Assault
- Version:
- 1.00
Description
- Description:
- Find object nearest to given position with given ClassType from CfgVehicles.
Syntax
- Syntax:
- Object = Position nearestObject "ClassType"
- Parameters:
- ClassType: String
- Return Value:
- Object
Examples
Additional Information
- Multiplayer:
- Behaviour unknown.
- See also:
- nearestObject, nearestObjects, nearObjects, nearestObject id
Notes
Notes
Notes
-
This command can only find objects up to 50 meters away.

