Editing maxX and maxY in container info

Get Help on scripting in POL with configurations, config setups, script trouble shooting, etc.
Post Reply
nevalon
Neophyte Poster
Posts: 39
Joined: Tue Mar 07, 2006 7:28 am

Editing maxX and maxY in container info

Post by nevalon »

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!

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
}
What's wrong?
Fistandantilus
New User
Posts: 3
Joined: Tue Mar 07, 2006 2:26 am

Post by Fistandantilus »

Maybe I'm saying something stupid, but I believe you just changed the itemdesc, without actually reformatting the gump...
nevalon
Neophyte Poster
Posts: 39
Joined: Tue Mar 07, 2006 7:28 am

Post by nevalon »

What do You mean: "reformatting the gump"?
I changed itemdesc.cfg, if I make new item from that number new (other) gump is correctly occuring, but... But I may put items only in top left corner.
Post Reply