custom container

Get Help on scripting in POL with configurations, config setups, script trouble shooting, etc.
Post Reply
Althalus
New User
Posts: 12
Joined: Fri Feb 17, 2006 5:34 pm

custom container

Post by Althalus »

What if i have to make a custom container 4 example in itemdesc.cfg i have:

Code: Select all

container someid
{
 name ..
 desc ..
 graphic ..
 gump gumpid
 minX
 maxX
 minY
 maxY
 script someUseScript
}
And in someUseScript i would like to have couple of options, i've made a gump with them, player is choosing one of them which is:

Code: Select all

SendOpenSpecialContainer( who, item);
and.. nothing is happening.
Can somebody help me?

I would like to add that the graphic of the item doesn't look like a container, it's a wall item ;)
User avatar
AsYlum
Grandmaster Poster
Posts: 115
Joined: Sun Feb 05, 2006 5:24 am

Post by AsYlum »

I think you need to add new graphic to uo files (art.mul). Also you'll need to add corresponding entry into tiledata.mul. In tiledata.mul this tile must be defined as container.

Defining container in pol itemdesc.cfg doesn't allows you make any item container like.

Correct me if I'm wrong.
Althalus
New User
Posts: 12
Joined: Fri Feb 17, 2006 5:34 pm

Post by Althalus »

Thnx, then I will do a src that will contain items. Anyway thnx for info ;)
Post Reply