Whenever I try to save the game I'm designing, it gives me an error message, and I am unable to save.
(http://www.kisa.ca/ags-error.gif)
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?
Did you change anything in the cursor section?
Aha, yes I did. I think I renamed "interact" to "Paw", since the player character is a panda in my game.
OK I changed it back to Interact and it works fine now. Yay! You rule.
well, there must be a way to have it say paw instead! Don't give up yet!
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.
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
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.
You need to change the name for a LEC style statusline.
The modes are in the autocomplete, anyway ;)
^ no you don't, unless there was a eModeSomething.Name.