Wrecking Crew Posted November 17, 2015 Share Posted November 17, 2015 Can a script be a solution to detect an aircraft over water? What would this script look like? :-) TIA! WC Visit the Hollo Pointe DCS World server -- an open server with a variety of COOP & H2H missions including Combined Arms. All released missions are available for free download, modification and public hosting, from my Wrecking Crew Projects site. Link to comment Share on other sites More sharing options...
Grimes Posted November 17, 2015 Share Posted November 17, 2015 local pos = Unit.getByName('testUnit'):getPosition().p if land.getSurfaceType({x = pos.x, y = pos.z}) == 3 then -- object is above water end http://wiki.hoggit.us/view/DCS_func_getSurfaceType 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...
Wrecking Crew Posted November 18, 2015 Author Share Posted November 18, 2015 Feet wet! This will replace five huge zones. WC Visit the Hollo Pointe DCS World server -- an open server with a variety of COOP & H2H missions including Combined Arms. All released missions are available for free download, modification and public hosting, from my Wrecking Crew Projects site. Link to comment Share on other sites More sharing options...
Wrecking Crew Posted November 22, 2015 Author Share Posted November 22, 2015 Does a lake have a different value than the ocean? ie. can't place ships on a lake... how is that determined? WC Visit the Hollo Pointe DCS World server -- an open server with a variety of COOP & H2H missions including Combined Arms. All released missions are available for free download, modification and public hosting, from my Wrecking Crew Projects site. Link to comment Share on other sites More sharing options...
BaD CrC Posted November 23, 2015 Share Posted November 23, 2015 According to the wiki link Grimes sent, lakes must be of shallow_water type instead of water. So normally, you cannot place boats on lake. The trick you might know though is to place the boat you want on the sea then copy paste it anywhere on the map, including lakes or land. Et voila. It also works to place farps on any type of non flat surface. https://www.blacksharkden.com http://discord.gg/blacksharkden Link to comment Share on other sites More sharing options...
Wrecking Crew Posted November 23, 2015 Author Share Posted November 23, 2015 my bad, CrC, for not looking at the link. Thanks for that. WC Visit the Hollo Pointe DCS World server -- an open server with a variety of COOP & H2H missions including Combined Arms. All released missions are available for free download, modification and public hosting, from my Wrecking Crew Projects site. Link to comment Share on other sites More sharing options...
Recommended Posts