Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (AndrewAMD, TipmyPip), 12,420 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Script paths #101695
12/09/06 22:52
12/09/06 22:52
Joined: Dec 2005
Posts: 30
UK
joolzhaines Offline OP
Newbie
joolzhaines  Offline OP
Newbie

Joined: Dec 2005
Posts: 30
UK
hi,

Can anyone tell me why the code below is not working, when I put all my code into one directory everything works, but when I put the code into a \\code subfolder and add the line below the code is not found?

path "\\Code";

I have enan tried

path "Code";

Thanks for your help

Joolz

Re: Script paths [Re: joolzhaines] #101696
12/09/06 23:40
12/09/06 23:40
Joined: Dec 2005
Posts: 414
Munich, Germany
R
Robotronic Offline
Senior Member
Robotronic  Offline
Senior Member
R

Joined: Dec 2005
Posts: 414
Munich, Germany
I think, there“s nothing wrong with your code. But you should not put your main script (with the path instruction) into the code subfolder ...

Re: Script paths [Re: Robotronic] #101697
12/09/06 23:46
12/09/06 23:46
Joined: Dec 2005
Posts: 30
UK
joolzhaines Offline OP
Newbie
joolzhaines  Offline OP
Newbie

Joined: Dec 2005
Posts: 30
UK
Hi,

that was it, you can't put the main wdl file in a sub folder, but you can put all the other wdl's in sub folders? strange!!!

Thanks for your help

Joolz

Re: Script paths [Re: joolzhaines] #101698
12/10/06 07:33
12/10/06 07:33
Joined: Aug 2005
Posts: 1,558
HK
V
vlau Offline
Serious User
vlau  Offline
Serious User
V

Joined: Aug 2005
Posts: 1,558
HK
Say you've the following paths and files :
c:\main\main.wdl // the working directory
c:\main\level1\level1.wdl
c:\main\level1\sublevel1\sublevel.wdl
c:\My Documents\images\text1.tga

Then in SED, you've to write the path like this :
path "level1";
path "level1\\sublevel1";
path "c:\\My Documents\\images";


Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1