allStaticVehicles (VBS2)
From Bohemia Interactive Community
| 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:
- Return a list of all editor-placed, static objects in the current mission that match the given evaluation. _x is substituted for the actual object in the evaluation.
Syntax
- Syntax:
- allStaticVehicles evaluation
- Parameters:
- evaluation: String - condition that an object has to fulfill, to be returned
- Return Value:
- Array
Examples
- Example 1:
_allIEDs = allStaticVehicles "_x isKindOf 'vbs2_iedbase'"
Additional Information
- Multiplayer:
- Behaviour unknown.

