Editing maxX and maxY in container info
Posted: Fri Sep 14, 2007 12:07 am
Hi.
(096).
I've done some changes with maxX and maxY in containter info, but... It doesn't work. If I put an item to a new, changed container by drag&droping it on the containter item, it appears always in one place on the gump, and if I drag&drop an item onto the gump, it has the standard Min/Max X/Y and it doesn't allow me to drag the item more right / below standard.
But the X/Y of the item if i drop in onto the container item is... a little below and a little righter than the right bottom corner of coords that it allows me to drag item manually onto the gump!
What's wrong?
(096).
I've done some changes with maxX and maxY in containter info, but... It doesn't work. If I put an item to a new, changed container by drag&droping it on the containter item, it appears always in one place on the gump, and if I drag&drop an item onto the gump, it has the standard Min/Max X/Y and it doesn't allow me to drag the item more right / below standard.
But the X/Y of the item if i drop in onto the container item is... a little below and a little righter than the right bottom corner of coords that it allows me to drag item manually onto the gump!
Code: Select all
Container 0x0E40
{
Name MetalChest
desc metal chest
Gump 0x0587
MinX 44
MaxX 500
MinY 65
MaxY 500
RequiresAttention 0
movable 1
MaxItems 125
weight 5
CanInsertScript ::canInsert
OnInsertScript ::onInsert
CanRemoveScript ::canRemove
OnRemoveScript ::onRemove
}