On Sat, 2 Nov 1996, Brian Guilbault wrote: > Guys- > > I have a problem with the "Throw" skill I am writing. Everything works > great until I try to remove the obj from the char and put it into the > target room. I know what the problem is but can't seem to fix it. Here's > what I am doing: > > unequip_char(ch, WEAR_WIELD); > obj_from_char(weapon); > obj_to_room(weapon, target_room); weapon = unequip_char(ch, WEAR_WIELD); obj_from_char(weapon); obj_to_room(weapon, target_room); Will (should) work just fine. -- Daniel Koepke dkoepke@california.com Forgive me father, for I am sin. +-----------------------------------------------------------+ | 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