Difference between revisions of "DCS func isTargetDetected"
From DCS World Wiki - Hoggitworld.com
Line 58: | Line 58: | ||
To output a list of how the aircraft is detecting the target as a message: | To output a list of how the aircraft is detecting the target as a message: | ||
− | local con = Unit.getController(Unit.getByName('whatever') | + | local con = Unit.getController(Unit.getByName('whatever')) |
local target = Unit.getByName('target') | local target = Unit.getByName('target') | ||
local m = {} | local m = {} |