I've got a message that says expected top level declaration but found "archinym.lmp" when I compile. What does that mean?

From OHRRPGCE-Wiki
Jump to: navigation, search

This error message means that you tried something like this (either by accident, or on purpose):

c:\ohr>hspeak mygame.rpg

Now, since your RPG is not a script, it fails. Archinym.lmp is a part of the RPG file, and the text "Archinym.lmp" is the text in the actual file itself. So, hspeak reads it, and it's not define script or declare globals or anything like that, so it exits with an error.

You probably want to try something like this:

c:\ohr>hspeak mygame.hss

Substituting mygame.hss with whatever you've called your actual plotscript file.