or3o Posted August 26, 2012 Author Share Posted August 26, 2012 how can i make it so i can use an item from my command button based on its item number instead of invnum? i know ill have to go serverside and replace some stuff in sub use item to be able to actually make the item work. any hel would be appreciated. Link to comment Share on other sites More sharing options...
Ecto Posted August 26, 2012 Share Posted August 26, 2012 Do you still want it to be able to be clicked in the inventory? Link to comment Share on other sites More sharing options...
or3o Posted August 26, 2012 Author Share Posted August 26, 2012 Basically i am planning on making it so the item isnt even going to be in the inventory at all. i just want to figure out how to have the command button use a particular item and then ill figure out how to make it so i dont need it in the inventory to use. Link to comment Share on other sites More sharing options...
Ecto Posted August 26, 2012 Share Posted August 26, 2012 So you can use it for a mini game or something? I think I get what your saying.Basically you want an item that is ONLY usable by a button? Link to comment Share on other sites More sharing options...
or3o Posted August 26, 2012 Author Share Posted August 26, 2012 Exactly ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png) im still trying to figure it out so if you have any suggestions it would help me out alot Link to comment Share on other sites More sharing options...
Ecto Posted August 26, 2012 Share Posted August 26, 2012 I'm at work right now, as soon as I get home I'll help ya out bud ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png) Link to comment Share on other sites More sharing options...
blkcrow Posted August 26, 2012 Share Posted August 26, 2012 make the client send a packet to server with the item's number when the button is clicked, do whatever you want to do server side and then update the client Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now