> From: Bubonic <bubonic@bsu-cs.bsu.edu> > > Okay, I'm having a bit of a problem with object structures for > a function I'm trying to write. I want to be able to retrieve the > name of an object in the room, that was the argument to a command > I wrote. > > Now, I know how I can retrieve the weight, or the wear_flags (i.e.: > GET_OBJ_WEIGHT(temp); > OR temp->obj_flags.weight; > > But, how can I identify the name of the object? I have tried a large > number of things, which include the following: > > temp->obj->name > temp->obj_data.name > temp->obj.name > temp->name -Johan +-----------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://cspo.queensu.ca/~fletcher/Circle/list_faq.html | +-----------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/18/00 PST