Jump to content

Recommended Posts

Posted

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.

Posted
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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...