KillObject

From the Scripting Manual
procedure KillObject(ObjID: integer): integer; Parameter Info: ObjID (Integer): ID of the object to be destroyed (Created with SpawnObject) Description: This function will delete an object created with the SpawnObject function