Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (degenerate_762, AbrahamR, AndrewAMD, ozgur), 667 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Regarding:Access the model or object from one common folder #280302
07/22/09 07:01
07/22/09 07:01
Joined: Mar 2009
Posts: 12
India, Tamil Nadu at chennai
S
sakthi Offline OP
Newbie
sakthi  Offline OP
Newbie
S

Joined: Mar 2009
Posts: 12
India, Tamil Nadu at chennai
Hai,

I can access the model or load (.wmb) file from one common folder.using the following code.


PATH("\\rootfolder\\subfolder");

The above code work proberly in the (.wdl) file at 3DGS A7.But it doesn't work in the (.c) file at 3DGS A7. is there any other way to access the file from folder.

Please help me.


Regards,
K.Sakthivel

Re: Regarding:Access the model or object from one common folder [Re: sakthi] #280307
07/22/09 07:47
07/22/09 07:47
Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
Rei_Ayanami Offline
Expert
Rei_Ayanami  Offline
Expert

Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
You can only acces Scripts when you call them directly in the include: Example:
#include <scripts\\player.c>

But you can include foldes for models or other things(but not scripts) with:
#define PRAGMA_PATH "Models"

Re: Regarding:Access the model or object from one common folder [Re: Rei_Ayanami] #280309
07/22/09 07:50
07/22/09 07:50
Joined: Jun 2006
Posts: 2,640
Earth
Germanunkol Offline
Expert
Germanunkol  Offline
Expert

Joined: Jun 2006
Posts: 2,640
Earth
shouldn't it be:
#include "scripts\\player.c"
?
I thought the <> are just for the files inside the include folder..?


~"I never let school interfere with my education"~
-Mark Twain
Re: Regarding:Access the model or object from one common folder [Re: Germanunkol] #280310
07/22/09 07:51
07/22/09 07:51
Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
Rei_Ayanami Offline
Expert
Rei_Ayanami  Offline
Expert

Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
it works, so I donīt know.

Re: Regarding:Access the model or object from one common folder [Re: Rei_Ayanami] #280317
07/22/09 08:05
07/22/09 08:05
Joined: Jul 2007
Posts: 959
nl
F
flits Offline
User
flits  Offline
User
F

Joined: Jul 2007
Posts: 959
nl
If the script name is given in angular brackets <..>, it is searched in the include folder. The include folder contains all common .h include files and the default.c script.

If the script name is given in double quotes "...", it is first searched in the work folder


"empty"

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | 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