Jump to content
dealman

[Suggestion] Make getMissionLayerEntities Return Modules

Recommended Posts

I think the layers in the 3DEN Editor is a feature that is very underappreciated. It can be used for so much - not only organizing things but it's also great for scripting! However, it's a shame that getMissionLayerEntities only return objects and markers.

I was hoping it would return modules as well as I'm creating a Warfare mission and am trying to figure out a nice and easy way of supporting various layouts per map, without each layout having to be its own separate mission file - or having to use a config.

Layers were at first the perfect candidate, until I realized it can only return 2 things. :down:

Share this post


Link to post
Share on other sites

Modules should be objects though. They are logic entities.

  • Confused 1

Share this post


Link to post
Share on other sites
17 hours ago, Dedmen said:

Modules should be objects though. They are logic entities.


I guess, but it doesn't return them. During my testing I was only able to get an array of actual objects(ie, walls and structures) and markers.

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

×