Author Topic: Script Game_Character 1  (Read 1585 times)

0 Members and 1 Guest are viewing this topic.

michael95

  • Tier 3
  • *
  • Posts: 70
  • Current Mood: happy happy
Script Game_Character 1
« on: May 29, 2011, 12:22:23 PM »
Why on this event and after marked part shows this error message:





The error occurs some of this marked events or all marked events.









« Last Edit: May 29, 2011, 12:53:26 PM by michael95 »

Sarkilas

  • *
  • Tier 6
  • **
  • Posts: 429
  • Gender: Male
  • That guy
  • Current Mood: creative creative
Re: Script Game_Character 1
« Reply #1 on: May 29, 2011, 12:24:55 PM »
There is nothing wrong with the event. This is a script change error, and thus it will be impossible for anyone to help you without knowing which line this occurs on to the least. To be more efficient, post the Game_Character script this occurs in.

By what the error says, it wants to multiply a value on a NilClass object, which is not allowed. The script must've expected the value to be a Numeric value, but wasn't given the value it intended.

As said, this cannot be solved without seeing the actual script.

Need scripting help? Toss me a PM and I'll see what I can do.
Also able to help with anything RMXP related. Please do not hesitate to ask.

michael95

  • Tier 3
  • *
  • Posts: 70
  • Current Mood: happy happy
Re: Script Game_Character 1
« Reply #2 on: May 29, 2011, 01:10:36 PM »
This is Enterbrainīs script. Is not edited.



« Last Edit: May 29, 2011, 01:14:37 PM by michael95 »

Sarkilas

  • *
  • Tier 6
  • **
  • Posts: 429
  • Gender: Male
  • That guy
  • Current Mood: creative creative
Re: Script Game_Character 1
« Reply #3 on: May 29, 2011, 01:16:37 PM »
Alright either your event or the map uses a tile that doesn't exist on the current tileset. This happens if you change tilesets after mapping or creating events on a map that doesn't contain the same data. This is what it suggest, anyway.

Try recreating the event on another map and changing their graphics accordingly.

Need scripting help? Toss me a PM and I'll see what I can do.
Also able to help with anything RMXP related. Please do not hesitate to ask.