/mob
var/obj/myobj = null
/mob/proc/drop(obj/O)
if(!O) return
O.loc = src.loc
O = null
/mob/verb/drop_my_item()
drop(myobj)
When the drop_my_item() verb is called, the desired behaviour is for myobj.loc to be set to src.loc, and for myobj to be set to null.
Obviously this doesn't happen. Again, I'm not sure of the term, but I want to set the referenced var via the reference.
I've simplified this example, so please don't suggest that I merge drop() and drop_my_item(). :)