Jump to content
cyborg111

'Land_AirconCondenser_01_F' not listed in (entities "all") Array?

Recommended Posts

Hi folks,

for some reason the created object 'Land_AirconCondenser_01_F' is not listed in (entities "all")?
entities

can someone from BI keep this in mind for next update?
thx

Share this post


Link to post
Share on other sites

Why would you like an air condenser to be an entity??
Entities returns units, vehicles (drivable) and logics.

Try with allMissionObjects "Land_AirconCondenser_01_F" ( you created it)

or

nearestObjects [player, ["Land_AirconCondenser_01_F"],some distanceHere]

Share this post


Link to post
Share on other sites

It's a simplification, but entities returns things that are created during the mission.

Share this post


Link to post
Share on other sites
2 hours ago, Tankbuster said:

It's a simplification, but entities returns things that are created during the mission.

No success with houses. So "things" should be precised. allMissionObjects is reliable for that.

Share this post


Link to post
Share on other sites

Yeah, entities, in the strictest sense of those interpreting the English language, would be said to be objects with an awareness, but in this case, it is all objects created in the editor and in script during the mission.

It's going to be a faff, but the nearestTerrainObjects command might work best for the OP. I say faff because it works using it's own, rather odd hierarchy system.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×