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 »
  • RPG Maker Programming »
  • Transforming problem...
« previous next »
  • Print
Pages: [1]

Author Topic: Transforming problem...  (Read 1996 times)

Offline Elmar

  • Member
  • Initiate
  • *
  • Posts: 2
  • I'm a human...I hate humans...
Transforming problem...
« on: November 12, 2005, 09:28:05 PM »
I made a character that is able to transform.I did this using a skill and a common event for every transform.I put the current hp, mp, exp, and equipment in a variable, and i change the new character's stats to the stats stored in the variable.But...If he doesn't have equipment in a slot i get an error...Please help
Logged

Offline Tomi

  • *does mannerism*
  • Leader
  • *
  • Posts: 2,000
(No subject)
« Reply #1 on: November 13, 2005, 02:27:05 PM »
I assume that you are using conditional branches to equip the equipment back onto the character.  If this is the case, just make a conditional branch that says if, say Variable character weapon, = 0, then don't do anything.  You probably don't have anything for the event to do if nothing is equipped, hence the error.
Logged

Offline Elmar

  • Member
  • Initiate
  • *
  • Posts: 2
  • I'm a human...I hate humans...
(No subject)
« Reply #2 on: November 13, 2005, 03:58:52 PM »
not really...I forgot the branches...hehe...fixed it now
Logged

Offline Tomi

  • *does mannerism*
  • Leader
  • *
  • Posts: 2,000
(No subject)
« Reply #3 on: November 13, 2005, 08:10:15 PM »
No problem!
Logged

  • Print
Pages: [1]
« previous next »
  • Charas-Project »
  • Game Creation »
  • Requests »
  • RPG Maker Programming »
  • Transforming problem...
 

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