PenUltima Online Forum Index Official Core: 096.7
Official Core: 097 2008-02-26
Donate towards the POL web hosting bill!
 POL Home   FAQ   Search    Memberlist   Usergroups    Register    Profile   Log in to check your private messages   Log in
custom container

 
Post new topic   Reply to topic    PenUltima Online Forum Index -> Scripting Help
Display posts from previous:   

Author Message
Althalus



Joined: 17 Feb 2006
Posts: 12

PostPosted: Fri Nov 23, 2007 9:33 am    Post subject: custom container Reply with quote

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

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:

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 Wink

Author Message
AsYlum



Joined: 05 Feb 2006
Posts: 30

PostPosted: Fri Nov 23, 2007 1:00 pm    Post subject: Reply with quote

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.

Author Message
Althalus



Joined: 17 Feb 2006
Posts: 12

PostPosted: Mon Nov 26, 2007 3:37 pm    Post subject: Reply with quote

Thnx, then I will do a src that will contain items. Anyway thnx for info Wink

Post new topic   Reply to topic    PenUltima Online Forum Index -> Scripting Help All times are GMT - 4 Hours
Page 1 of 1

 




Powered by phpBB © 2001, 2005 phpBB Group :: Theme & Graphics by GHS & Scott E. Royalty