var/obj/something/a = new()
usr << output(a,"somegrid:[somex],[somey]")
Problem description:
I've got something like this in my codes, but for some reason it won't work well... It outputs the obj I want to the grid, but I can't interact with it in any way...
Also, when I spawn a new obj somewhere, it automatically replaces the obj from the grid and I can interact with the new obj...
I haven't dealt with this kind of things myself (displaying objects created on the fly on the grid), but I would probably store a reference to the object on the mob or client itself. A special variable, or maybe just a list containing all of the objects that you print on your grid.