using PATH"......"

Posted By: aztec

using PATH"......" - 03/28/09 16:27

allright hi guys I have a new question (as allways)
I got a folder in my wok folder named "Project1" this is where all my stuff goes in except the music I created another folder named "mp3files" but the script in the "Project1" folder won't load the mp3.files from the folder "mp3files" if I put the following code in my main scrit:
Code:
 path "\\mp3files"; 

i just put it in the main function but got an error even if I put a wait(1) before it.
So does anyone know how I could load the music from an other folder?

best regards

Aztec
Posted By: alibaba

Re: using PATH"......" - 03/28/09 18:03

try it like this : path"...\\mp3files";
Posted By: aztec

Re: using PATH"......" - 03/28/09 19:02

do I have to replace the 3 dots because it doesnt work if I put it in like that
Posted By: Anonymous

Re: using PATH"......" - 03/28/09 21:00

try it with two 2 dots not with 3
Posted By: aztec

Re: using PATH"......" - 03/28/09 21:08

where do I have to put it?
I still get an error putting it in the function main
Posted By: Anonymous

Re: using PATH"......" - 03/28/09 21:32

at the beginning of you wdl file if you are using c-script. If you use lite-c you have to use pragma_path
Posted By: EvilSOB

Re: using PATH"......" - 03/29/09 13:55

Im not sure but try just path "mp3files";
Otherwise, if WDL's support PRAGMA_PATH try #include PRAGMA_PATH "mp3files"
These lines go at the top of your main script, before any of YOUR includes.

Posted By: aztec

Re: using PATH"......" - 03/29/09 15:21

allready got the problem solved cool
thanks anyway
© 2024 lite-C Forums