You can bind haXe functions and classes and expose it to Orbit. haXe does have reflection.
>what's the use of using it as scripting language when programming haXe games?
To allow end users to mod the games, or maybe to use it as a data format for levels. For instance, let's say you've built the game, which can load levels. You can allow designers to script special events within the levels. Or maybe procedurally generate stuff. And you don't need to recompile your source code.
Of course, if you target Flash, it's a little bit more troublesome (but still possible -- if the script files are embedded in the swf, users can't modify it, but you can make the scripts load from a URL).
If you target C++, your end users could modify the script files and create mods.
Visual novels already do something similar only they don't really have rpg elements.
There is also date sim/princess sim which do have some rpg elements but there not action oriented.
You could add rpg battles in between events but it would not change the story that much.
Check out Ren'Py for visual novels.
The closest Ren'Py project to what you are looking for is this
There is also my pet protector