Charas-Project

  • Home
  • Help
  • Search
  • Calendar
  • Login
  • Register
*
Please login or register.

Login with username, password and session length
 

News:

New forum theme up and running!



  • Charas-Project »
  • Game Creation »
  • Requests »
  • Equipment Storage Help!!
« previous next »
  • Print
Pages: 1 [2]

Author Topic: Equipment Storage Help!!  (Read 8593 times)

Offline Prpl_Mage

  • Administrator
  • Sage
  • *
  • Posts: 7,645
  • The Administrator Mage
    • Check out our itch website
Re: Equipment Storage Help!!
« Reply #15 on: January 10, 2013, 08:28:23 AM »
Seems like you figured it out.

And yes, if no item is equipped things go crappy crap, since the value becomes 0 and there is no item with the index 0. So in the equip part you test if the value is greater than 0, if not you don't equip anything.

Did you store the info of equipment before changing the class the first try? And is everything working now?
Logged
Cool RPGM Project!
Sprite till you die

Oh my god, this was ...10 years ago...

Offline daoman89

  • Sacrosanct
  • Exemplar
  • *
  • Posts: 1,114
  • When we die, will we only live on through memory?
Re: Equipment Storage Help!!
« Reply #16 on: January 10, 2013, 05:49:01 PM »
Yeah, everything is functioning properly haha thanks
Logged
Oooh, she hangs out with cattle. You gotta mess with the easiest one and show them why they call you Mac Daddy Diamond Dave!

  • Print
Pages: 1 [2]
« previous next »
  • Charas-Project »
  • Game Creation »
  • Requests »
  • Equipment Storage Help!!
 

  • SMF 2.0.10 | SMF © 2015, Simple Machines
  • XHTML
  • 2O11
  • RSS
  • WAP2
  • Simple Machines Forum