Page 1 of 1
Having Trouble Loading .LVLs from Another Folder [Solved]
Posted: Mon Oct 14, 2013 9:42 pm
by Nedarb7
I'm trying to load my .lvls from one of my mods into a custom maps LUA. Here's what that would look like:
For some reason they aren't being loaded and the game crashes. This is the error I'm getting:
Any ideas?
Re: Having Trouble Loading .LVLs from Another Folder
Posted: Mon Oct 14, 2013 9:51 pm
by AQT
Code: Select all
ReadDataFile("..\\..\\addon\\OO1\\data\\_LVL_PC\\core.lvl")
The third pair of dots should be
addon.

Re: Having Trouble Loading .LVLs from Another Folder
Posted: Mon Oct 14, 2013 9:53 pm
by Nedarb7
Ah, so I can't have three pairs of dots. Interesting. Thanks, AQT, I'll get back with the results.
-EDIT-
Works, topic is solved.