Code: Select all
local op_file = io.open("example.txt", "w")
op_file:write("This is an example.")
op_file:close()
Code: Select all
local op_file = io.open("example.txt", "w")
op_file:write("This is an example.")
op_file:close()
Ah, I see, thanks for the explanation!jarod42 wrote:Not all lua lib are loaded.
and if I remember correctly, `io` is not loaded for security reason.
Those would have to be added in with a text editor like Notepad++. It would of course be nice to be able to add triggers through the editors, and I want to get that in Wyrmsun someday.francot514 wrote:Yes, that is what i have done, i mean why the "triggers" and some other stuff didnt were added to the editor, to allow better and easy map events customization, or there is other tool for it...