Inconsistent blocks for object names?

Started by lilinuyasha, Thu 16/04/2015 19:09:31

Previous topic - Next topic

lilinuyasha

Hey there. So I keep getting an error that says "Error: Load_Room: Inconsisten blocks for object names" and I'm not sure what it means. I didn't have this error with my previous code, attached below:

function room_LeaveRight()
{
  player.ChangeRoom(5, 950, 895);
}

function room_AfterFadeIn()
{
  cVinyl.FaceCharacter(player, eNoBlock);
  object[0].SetView(15, 1);
  object[0].Animate(1, 1, eRepeat, eNoBlock, eForwards);
}

But after adding one line, it all goes to hell and I'm not sure why.

function room_LeaveRight()
{
  player.ChangeRoom(5, 950, 895);
}

function room_AfterFadeIn()
{
  cVinyl.FaceCharacter(player, eNoBlock);
  cVinyl.Animate(2, 0, eRepeat, eNoBlock, eForwards); (Added line)
  object[0].SetView(15, 1);
  object[0].Animate(1, 1, eRepeat, eNoBlock, eForwards);
}

So uh...what's the deal?
I can Fluently speak Braille. I obtained a swiss army knife...From the Turkish Navy. My hands feel like rich brown suede. My blood smells like cologne. I AM Trey Love, The most Interesting Man in the World.

Crimson Wizard

#1
Quote from: lilinuyasha on Thu 16/04/2015 19:09:31
So I keep getting an error that says "Error: Load_Room: Inconsisten blocks for object names"
This error indicates that the room data was corrupted. No clue how that could happen generally.

If this happens only when you run the game, try to open "Build" menu and choose "Rebuild all files". Then run game and see if the error persists or not.

If this happens in the Editor, then I don't know what to do, except for restoring room from backup copy, or recreating it from scratch (script may be copied over).

SMF spam blocked by CleanTalk