A Hamburgler Posted May 28, 2018 Share Posted May 28, 2018 Does anyone know where I can find the class names for all the air bases. They should look something like this AIRBASE.Caucasus.Krymsk So for an example on Caucasus that would be the Krymsk airbase. Link to comment Share on other sites More sharing options...
Grimes Posted May 28, 2018 Share Posted May 28, 2018 The airbase object does not contain a table of maps or valid airbases on a given map. However you can easily iterate the airbases via world.getAirbases() to return a list of them. local ab = world.getAirbases() for i, obj in pairs(ab) do env.info(Airbase.getTypeName(obj)) end The right man in the wrong place makes all the difference in the world. Current Projects: Grayflag Server, Scripting Wiki Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread) SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum Link to comment Share on other sites More sharing options...
A Hamburgler Posted May 28, 2018 Author Share Posted May 28, 2018 Perfect thanks. Link to comment Share on other sites More sharing options...
mike5cents Posted July 14, 2018 Share Posted July 14, 2018 I'm not sure how do do that. Can somebody publish a list of them? Trying to reference them in a script. Link to comment Share on other sites More sharing options...
mono6020 Posted October 23, 2018 Share Posted October 23, 2018 hey there. how do i use this command? do i need to display a message box, can i use this script live in ME, do i need to dump into a text file? is there a way to show the value of the "ab" array? thx Link to comment Share on other sites More sharing options...
Recommended Posts