mrSkortch / MissionScriptingTools

Mission Scripting Tools for Digital Combat Simulator
GNU General Public License v3.0
195 stars 42 forks source link

"Object doesn't exist" error when destroying Oil Well and Gas Platform statics #91

Closed TS-Coles closed 8 months ago

TS-Coles commented 9 months ago

image

Steps to reproduce: mist_4_5_122.lua is in use Oil well or Gas platform static object is killed

Error on line 1546 when calling Object.getPosition in function addDeadObject

MIST_scripting_error_miz.zip

mrSkortch commented 8 months ago

That appears to partially be a DCS bug. Few functions are working when those two objects get killed. Fixed it in mist https://github.com/mrSkortch/MissionScriptingTools/commit/e01bfd25d5761cb9810628da558a958fcb201cb1 but I will need ED to fix the base of the problem too.