Jump to content
target_practice

Get list of all mission objects belonging to empty side.

Recommended Posts

Its very likely I'm just being dense but I haven't managed to find out how to do this.

I'm trying to get an array of all empty objects in a mission so I can enable dynamic simulation on all of them without having to do it manually.

Share this post


Link to post
Share on other sites

Hey dude,

you might be looking for allMissionObjects.

Be very careful when using it, though - It can be extremely demanding / unperformant.

  • Like 1

Share this post


Link to post
Share on other sites

I'm guessing I need to use another command to filter for empty side, although I'm not sure which one.

Also if it's demanding on performance is there a way to get it to run during/before the briefing screen?

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

×