DCS func removeJunk: Difference between revisions
From DCS World Wiki - Hoggitworld.com
No edit summary |
swap to correct variable for example's arg |
||
| (2 intermediate revisions by one other user not shown) | |||
| Line 16: | Line 16: | ||
See pages for the correct format of each volume type: | See pages for the correct format of each volume type: | ||
{{listOfVolumes}} | {{listOfVolumes}} | ||
| Line 41: | Line 42: | ||
local sphere = trigger.misc.getZone('trainingAirbase') | local sphere = trigger.misc.getZone('trainingAirbase') | ||
sphere.point.y = land.getHeight({x = | sphere.point.y = land.getHeight({x = sphere.point.x, y = sphere.point.z}) | ||
local volS = { | local volS = { | ||
id = world.VolumeType.SPHERE, | id = world.VolumeType.SPHERE, | ||
| Line 49: | Line 50: | ||
} | } | ||
} | } | ||
world.removeJunk( | world.removeJunk(volS) | ||
