DCS func removeJunk: Difference between revisions
From DCS World Wiki - Hoggitworld.com
No edit summary |
swap to correct variable for example's arg |
||
| (One intermediate revision by one other user not shown) | |||
| Line 42: | 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 50: | Line 50: | ||
} | } | ||
} | } | ||
world.removeJunk( | world.removeJunk(volS) | ||
