dif78qps Posted October 15, 2012 Author Share Posted October 15, 2012 Please anyone can help me? i need a tutorial to add more equipment slots in the custom version Eclipse Advanced v3.0.15I've tryed to use the tutorial by Mortal Angels ( [EO 3.0 - Event System] How to add new equipment slots ) but dont work with this version and the author of Eclipse Advanced dont send me a reply.Tutorial link of mortal angels : [Link](http://www.touchofdeathforums.com/community/index.php?/topic/127979-eo-30-event-systemhow-to-add-new-equipment-slots/)Pleaase guys Help mee Link to comment Share on other sites More sharing options...
XerShade Posted October 15, 2012 Share Posted October 15, 2012 Well why not just add new variables to the enumeratio….oh right they arn't doing something that would be efficient and easy to edit.But in all seriousness I find that tutorial to go against my coding laws. Equipment types should be an enumeration so you can loop through it and make drawing on the UI and other code easier, an example of this would be like:Sub DrawEquipment()Dim Columns as Byte, Row as Byte, Column as ByteColumns = 4For i = 1 to Equipment.CountRow = i / ColumnsColumn = i mod ColumnsX = Column * Pic_XY = Row * Pic_YNextEnd SubAgain that is only an example but you should get the point. 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