drew4452862 Posted February 7, 2017 Share Posted February 7, 2017 I know I can load this information with Sector():getValues() ... then what? Any ideas? Link to comment Share on other sites More sharing options...
shulrak Posted February 7, 2017 Share Posted February 7, 2017 Please check the documentation in Avorion/Documentation. You have the Sector object that have several method : getEntities getEntitiesByType getEntitiesByComponent getEntitiesByFaction getEntitiesByComponents getEntitiesByLocation You can then search those in the actual code and try to understand how each one works. Link to comment Share on other sites More sharing options...
drew4452862 Posted February 8, 2017 Author Share Posted February 8, 2017 Obviously I read the * documentation. I didn't * invent the example given above. you * *. At least you have some shred of use by pointing me to the game code. local stations = {sector:getEntitiesByType(EntityType.Station)} for _, station in pairs(stations) do looks like that will make some use of the data coming in. In the mean time try not to push any beginners away from modding, *. Link to comment Share on other sites More sharing options...
Aki Posted February 8, 2017 Share Posted February 8, 2017 drew4452862 Do not use profanity and do not insult other users so openly. If you are asking for help then do it with a proper language. Consider it your first warning. Link to comment Share on other sites More sharing options...
shulrak Posted February 8, 2017 Share Posted February 8, 2017 I am sorry if i have offended you, that wasn't my intention. I am glad you found what you needed. Link to comment Share on other sites More sharing options...
drew4452862 Posted February 8, 2017 Author Share Posted February 8, 2017 drew4452862 Do not use profanity and do not insult other users so openly. If you are asking for help then do it with a proper language. Consider it your first warning. Hey Aki, spend some time helping instead of patrolling the forums for swear words. Then frustration won't escalate so high. Link to comment Share on other sites More sharing options...
Aki Posted February 8, 2017 Share Posted February 8, 2017 Hey Aki, spend some time helping instead of patrolling the forums for swear words. Then frustration won't escalate so high. Frustration is escalated only by your own behaviour. Shulrak's answer was a valid one. Your second post was overreacted and even if you think it wasn't - there are no excuses for using profanity on forums. Any further discussion and your last comment are obsolete. Locking thread. Link to comment Share on other sites More sharing options...
Recommended Posts