Difference between revisions of "DCS func setAltitude"
From DCS World Wiki - Hoggitworld.com
(Created page with "{{Template:dcs_funcs |fName= setAltitude |vNum= 2.7.11 |par1= Controller |par2= |desc= Sets the controlled aircraft group to the specified altit...") |
|||
Line 46: | Line 46: | ||
|examples= The following will set the aircraft to fly at 100m AGL through their route: | |examples= The following will set the aircraft to fly at 100m AGL through their route: | ||
− | Group.getByName("IAMTHEGREATEST"):getController:setAltitude(100, true, "BARO") | + | Group.getByName("IAMTHEGREATEST"):getController():setAltitude(100, true, "BARO") |
|notes= | |notes= |