Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:1.00

Description

Description:

Returns a list of all editor-placed, static objects in the current mission that match the given evaluation. The _x variable substitutes the actual object in the evaluation.

Includes the following simulation types:

  • House
  • Church
  • Visual Approach Slope Indicator (VASI)

Note: The command may also return visitor-placed objects (which are part of the map) in versions below V1.51.

Syntax

Syntax:allStaticVehicles evaluation
Parameters:
  • evaluation: String - Condition that an object has to fulfill, to be returned.
Return Value:Array

Examples

Examples:
_allIEDs = allStaticVehicles "_x isKindOf 'vbs2_iedbase'" // Returns all IEDs in the mission
ret = allStaticVehicles "true"; // Returns all the static objects (of the types supported by the command) in the mission

Additional Information

See also: allUnits, allVehicles, allVehiclesEx
Multiplayer: 
Problems: 

Notes