gromit190 Posted December 27, 2016 Posted December 27, 2016 (edited) Hi, Suddenly, my script is broken and I've narrowed it down to Unit.isExist returns true even for dead units. I was under the impression that Unit.isExist returns false for dead units. I tried using Unit.getLife instead to check if units are dead but it "31" for units regardless of "state"... Is it broken or have I been using Unit.isExist wrong all along? The strange thing is that it seems to return false for dead units until I've respawned units a couple of times, then it starts returning true regardless of wether the unit is destroyed or not. Anyone experiencing the same issue(s)? EDIT: Solved. Reinstalled DCS World and Unit.isExist now giving proper results. Dunno if it was because of an update or it was my installation that was damaged... Edited December 29, 2016 by gromit190 Autonomous ground AI project
Recommended Posts