← Back to team overview

widelands-dev team mailing list archive

attempt to index global 'io' (a nil value)

 

Hi,

I need to load some file from within F6 lua console, but am getting above
error.

It is not problem of a lua, because if I do in terminal:

io.open("aa")

no problem, but lua within widelands has this problem.

Or are there any alternatives to IO?

It worked for me about year ago, but I lost my scripts so I dont know what
syntax I used :(

Tibor

Follow ups