Rick Posted March 24, 2013 Share Posted March 24, 2013 Has anyone figured out how to get all entities loaded in the map yet? Via Lua preferred. Quote Link to comment Share on other sites More sharing options...
gamecreator Posted March 25, 2013 Share Posted March 25, 2013 I haven't tried it yet but does the engine keep a log like in 2? Quote Link to comment Share on other sites More sharing options...
shadmar Posted March 25, 2013 Share Posted March 25, 2013 I've been using this for finding all materials on all entities : App.world:ForEachVisibleEntityDo(self.entity,"Callback",App.context) 1 Quote HP Omen - 16GB - i7 - Nvidia GTX 1060 6GB Link to comment Share on other sites More sharing options...
YouGroove Posted March 25, 2013 Share Posted March 25, 2013 ForEachVisibleEntityDo This is only visible entity for the camera ,not All. I think it's better to use : World::ForEachEntityInAABBDo Quote Stop toying and make games Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.