AGS error message

Started by Sonja, Sun 01/01/2006 20:51:54

Previous topic - Next topic

Sonja

Whenever I try to save the game I'm designing, it gives me an error message, and I am unable to save.



I never touched the global script, so I don't know why it's suddenly buggy. Here are the lines near where it says the bug is:


  // ** CUSTOM INVENTORY WINDOW
  gInventory.Visible = true;
  // switch to the Use cursor (to select items with)
  mouse.Mode = eModeInteract;
  // But, override the appearance to look like the arrow
  mouse.UseModeGraphic(eModePointer);

}


Any ideas on what went wrong here?

Dr Lecter

Did you change anything in the cursor section?

Sonja

Aha, yes I did. I think I renamed "interact" to "Paw", since the player character is a panda in my game.

Sonja

OK I changed it back to Interact and it works fine now. Yay! You rule.

ManicMatt

well, there must be a way to have it say paw instead! Don't give up yet!

strazer

#5
Quote from: Sonja on Sun 01/01/2006 20:51:54Error (line 28): undefined symbol 'eModeInteract'

Just use "eModePaw" instead. The latter part of the word is generated from the name you give the cursor in the editor.

ManicMatt

That's exactly what I would have tried, but it's best to leave it to the pro's like you strazer! I must be learning something!  :D

Dr Lecter

It works when you change them both, but it seems abit pointless since they mean the same and the name isn't normally called during game so it wouldn't be noticed.

Ishmael

You need to change the name for a LEC style statusline.

The modes are in the autocomplete, anyway ;)
I used to make games but then I took an IRC in the knee.

<Calin> Ishmael looks awesome all the time
\( Ö)/ ¬(Ö ) | Ja minähän en keskellä kirkasta päivää lähden minnekään juoksentelemaan ilman housuja.

Elliott Hird

^ no you don't, unless there was a eModeSomething.Name.

SMF spam blocked by CleanTalk