![]() |
Bag full of items - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: Script Help (/Forum-Script-Help) +--- Thread: Bag full of items (/Thread-Bag-full-of-items) |
Bag full of items - SheriffWhite - 08-12-2012 09:07 AM Hi, first sorry for my english. I would like to know, hot to make a bag with items, because i want to make a deed, and if i double-click the deed, deed changes into bag and in the bag will be some item(s) - for example with axe, sword... I know it's really stupid question, but i am a real beginner. Thank you very much RE: Bag full of items - Shaklaban - 08-12-2012 09:57 AM you can use templates, its very easy; [TEMPLATE BLA_BLA] container=i_Bag item=i_katana item=i_gold then in deed script: on=@dclick serv.newitem bla_bla src.bounce <new> //call that function on the character remove RE: Bag full of items - SheriffWhite - 08-12-2012 05:52 PM Thank you, I'll do it. Edit: Works perfect. Thank you |