Mirage Source http://www.miragesource.net/forums/ |
|
Item editor problems http://www.miragesource.net/forums/viewtopic.php?f=201&t=3069 |
Page 1 of 1 |
Author: | jsventor [ Wed Nov 21, 2007 2:34 pm ] |
Post subject: | Item editor problems |
I added a picbox that you can choose the item from like elysium, And it works good as new, but when it saves the item it saves as the wrong sprite.. heres some info on the editor first. PicBackSelect.Width = 224 PicBack Select.width = 224 In the itemEditorOK Sub I put Code: Item(EditorIndex).Pic = EditorItemY + EditorItemX And like, I can choose a sword, And it will save it and it will look like an armor, or somehthing else on the ItemSheet |
Author: | Beres [ Sat Dec 01, 2007 8:13 am ] |
Post subject: | Re: Item editor problems |
jsventor wrote: I added a picbox that you can choose the item from like elysium, And it works good as new, but when it saves the item it saves as the wrong sprite.. heres some info on the editor first. PicBackSelect.Width = 224 PicBack Select.width = 224 In the itemEditorOK Sub I put Code: Item(EditorIndex).Pic = EditorItemY + EditorItemX And like, I can choose a sword, And it will save it and it will look like an armor, or somehthing else on the ItemSheet I did the same thing, choose an item from the picture box. Like the item pic. Well, I got it working fine for me. Your code: Code: Item(EditorIndex).Pic = EditorItemY + EditorItemX Is like what I wrote, except I did this: Code: Item(EditorIndex).Pic = EditorItemY * 6 + EditorItemX Try it. If it dont help, then let me know. |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |