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



Introduced in

Version:2.00

Description

Description:Returns all mission objects of the specified class. Objects included are any allVehicles, allUnits (dead or alive), allVehicles, allStaticVehicles, allShots (in flight), environmental objects and lifeforms (for example, footsteps and insects), craters (created by bullet impacts or explosions), and weapons or ammunition on the ground (for either of those, an invisible weapon holder is returned, whose content can be checked using getWeaponCargo).

Syntax

Syntax:allMissionObjects class
Parameters:
  • class: String - Classes to return (works hierarchically, so any sub-classes can also be found). An empty string returns all the objects.
Return Value:Array of Object

Examples

Examples:_airObjects = allMissionObjects "vbs_cz_army_mi171_ub32_pkb_gry_x";

Additional Information

See also: allVehicles, allVehiclesEx, allUnits, allDead, allGroups, allShots
Multiplayer: 
Problems: 

Notes