Hey all,
I understand that the "Undefined token" error is fixed by adding, for example,
"int InventoryScreen"
...somewhere earlier than the line causing the error.
I don't want to do this without advice, because i haven't actually done anything to the game yet except create a room, some sprites, and a main character. I havent touched the script, and certainly havent done anything with the inventory screen.
When i delete the line causing the problem; line 27:
if keycode==(9) InventoryScreen(); //Tab, show inventory
...by putting as "//" in front of it, the game will compile and run, but there will be no cursor, and no menu options running across the top of the screen (as there have been with other games i've experimented in making in the past using AGS).
So i am not sure if adding the "int" line will fix the problem, or if it'll just create more problems, because it seems like the menu and the cursors, which seemed to come as the default with my earlier AGS experiments, are missing from this game, and the "Undefined token" error is more of a symptom than a problem...
Does anyone know what the problem might be?
I understand that the "Undefined token" error is fixed by adding, for example,
"int InventoryScreen"
...somewhere earlier than the line causing the error.
I don't want to do this without advice, because i haven't actually done anything to the game yet except create a room, some sprites, and a main character. I havent touched the script, and certainly havent done anything with the inventory screen.
When i delete the line causing the problem; line 27:
if keycode==(9) InventoryScreen(); //Tab, show inventory
...by putting as "//" in front of it, the game will compile and run, but there will be no cursor, and no menu options running across the top of the screen (as there have been with other games i've experimented in making in the past using AGS).
So i am not sure if adding the "int" line will fix the problem, or if it'll just create more problems, because it seems like the menu and the cursors, which seemed to come as the default with my earlier AGS experiments, are missing from this game, and the "Undefined token" error is more of a symptom than a problem...
Does anyone know what the problem might be?