Re: Quick question about worn objects.

From: Hades (
Date: 03/15/96

> Is there any way to get the weight of an object that is being worn?
> I've tried using:
> obj = GET_EQ(ch, position);
> weight = GET_OBJ_WEIGHT(obj);
> but that doesn't work, so I'm kinda stumped.  Thanks in advance.
> Scott
Well assuming you have the position right, that should work.

A more consice way to do this would be:
weight = GET_OBJ_WEIGHT(GET_EQ(ch, position));

But yeah this is what you have to do.

This archive was generated by hypermail 2b30 : 12/07/00 PST