A Hamburgler Posted May 24, 2018 Posted May 24, 2018 I have been trying for 4 hours now and nothing works. I need to know how to delete a cargo object. local Static1 = USCargoCrate:SpawnFromZone( SupplieZone, 0, "Test5577") StaticObject.destroy( "Test557" ) I have tried every combination of the destroy command and examples of other scripts but for the life of me cant figure it out. Was even using STATIC.Findbyname but that did not work either even with editor placed units.
Grimes Posted May 24, 2018 Posted May 24, 2018 Try not destroying the object the moment it was created? At least it looks like it might be spawned on that line above it... The right man in the wrong place makes all the difference in the world. Current Projects: Grayflag Server, Scripting Wiki Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread) SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum
A Hamburgler Posted May 24, 2018 Author Posted May 24, 2018 Try not destroying the object the moment it was created? At least it looks like it might be spawned on that line above it... I have even tried with editor played objects and can’t get it to work.
Recommended Posts