Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 07:52 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.