I have posted the same in the feature-creep area. I am reposting just to make sure my request is noticed, especially since the next beta will be the one which will contain significant expansion of the scripting capabilities.
1. I would like to be able to use lua commands to READ and WRITE various entity attributes. For example, to be able to read the g_Entity[e]['x'] for every time step in the game and also to be able to MODIFY it (again at every time step ). Similarly for y, z coordinates, for orientation etc.
2. Also to have FILE input / output capabilities, i.e.,
2.1 to be able to write g_Entity[e]['x'] to file at every time step
2.2 to be able to read g_Entity[e]['x'] from a file and use it to modify the actual g_Entity[e]['x'] at every time step.
All of the above capabilities are easy to implement in LUA, the question is really to let LUA interact with the FPSC engine.
Whereof one cannot speak thereof one must be silent