View Single Post
  #8    
Old February 12th, 2011, 04:08 AM
Rossay's Avatar
Rossay
Quack quack
 
Join Date: Oct 2010
Location: Scotland
Age: 23
Gender: Male
Nature: Careful
Quote:
Originally Posted by NatureKeeper View Post
I officially thank you. I was looking for functions like that.
GML has a lot of functions.
You're welcome.

Most people suggest that you should use Arrays for things like Inventories, however, Data Structure functions are generally better because you can sort through them like a database. They are slightly more complicated, and there aren't a lot of tutorials on using them, but once you get used to them, they are so much more efficient -- i.e. using the ds_stack functions allow you to make an inventory so that when you collect a new item, it's added to the bottom of the list (if that makes sense).
__________________
Pokemon X - Friend code: 1435-4688-7520
- DeviantArt -


Reply With Quote