ncrsn
Joined: 10 Feb 2006 Posts: 168
|
Posted: Sun May 25, 2008 4:07 am Post subject: Item.layer only works for items (once) equipped (POL 097) |
|
|
This is only a small nuisance, but worth the thread: item.layer returns valid information only if the item is equipped or has been equipped in the past. Say, I create a sword on the ground and check it's layer using .getprop layer: "Property layer is not set or zero." If I equip it and try again, result is "Property layer is: 1". After unequipping the value is still correct, until the server is rebooted.
As far as I know this has existed for a very long time.
Even if the item is never-ever equipped layer property should tell the layer it would fit into, if any. |
|