Code: Select all
>> target = ScenEdit_GetUnit({name='Taichung A/C Revetment (1x Large Aircraft)', guid='*SOME GUID THAT LOOKED LIKE PHONE NUMBER TO THE FORUM SYSTEM'})
target.delete()
ERROR: [string "Console"]:2: instance method 'delete' requires a non null target objectso how to correctly invoke methods of a wrapper?