View Single Post
  #1  
Old 08-13-2014, 02:15 AM
scriptless scriptless is offline
Banned
Join Date: Dec 2008
Location: N-Pulse
Posts: 1,412
scriptless is a splendid one to beholdscriptless is a splendid one to beholdscriptless is a splendid one to beholdscriptless is a splendid one to behold
Level Directory or Folderconfig via script?

Hello all, I was recently using the Pix level editor on my server when I discovered a problem. The script only works with levels in the "levels/" folder. The problem was, I was using "levels/overworld/". So this brings me to a question. Is there a way to return the directory path of the level file? I would like to add this support, if possible, to the editor but for now I just hard coded it to "levels/overworld/".

If not, then what I will have to do is loop thru a list of possible directory configurations. So this brings me to the second part, is it possible to read the folder config, via script?
Reply With Quote