The code posted in additional information will return mostly empty strings in the array. Only buildings and select objects actually give their class name. Their class name can still be found by just adding _x and parsing the return value to get the p3d name which is identical to the class name in every instance I have seen.
Description
Description
Details
Details
- Severity
- Minor
- Resolution
- Open
- Reproducibility
- Always
- Operating System
- Windows 10 x64
- Operating System Version
- Latest
- Category
- Scripting
Steps To Reproduce
Go into Altis, run this script and see as no walls or garbage are listed in the array copied to your clipboard. The location specified is the ruined housing development south of the domes and east of the solar towers near the airport.
Additional Information
_array = [];
{
_array pushBack (typeOf _x);
} forEach (nearestObjects[[15987.4,16269.1,0],[],500]);
copytoClipboard str(_array);