PierreMGI
This command (63 allObjects 0) will return lamps or poles but not houses. Use nearestTerrainObjects instead.
Results appear below as you type; use the arrow keys to move through them.
Returns array of requested objects as fast as the engine allows it. The objects can be requested by object type and simulation kind.
Note
This command does not return terrain placed objects (except for terrain objects with lights, such as lamp posts, etc. which can be found in the slow entities collection). To get all terrain objects, use nearestTerrainObjects instead.
objectType allObjects objectCollection
Parameters:
objectType: Number - type can be a combination of types according to bit flag operation (see getObjectType):
Note
Use 63 (1 + 2 + 4 + 8 + 16 + 32) to return objects of all types (excl. nulls).
objectCollection: Number - supported values:
since arma3 2.12
objectType allObjects objectCollection
Parameters:
objectType: String - type of the objects (will exact match return of typeOf)objectCollection: Number - see main syntax aboveprivate _visitorBuildings = 1 allObjects 0;
private _userPlacedBuildings = 8 allObjects 0;
onEachFrame
{
hintSilent str
[
count (63 allObjects 0),
count (63 allObjects 1),
count (63 allObjects 2),
count (63 allObjects 3),
count (63 allObjects 4),
count (63 allObjects 5),
count (63 allObjects 6)
];
};
private _allGroundWeaponHolders = "GroundWeaponHolder" allObjects 0;
private _allSimulatedWeaponHolders = "WeaponHolderSimulated" allObjects 1;
getObjectFOV · cursorObject · cursorTarget · createSimpleObject · allMissionObjects · setObjectViewDistance · getObjectViewDistance · objectParent · object · getObjectType · allPlayers · allGroups · allDead · playableUnits · switchableUnits · units · vehicles · allUnitsUAV · allCurators · playersNumber
This command (63 allObjects 0) will return lamps or poles but not houses. Use nearestTerrainObjects instead.