Gamestudio Links
Zorro Links
Newest Posts
No connection to MT4
by JeyKey II. 10/29/26 09:34
Zorro plugin for Hyperliquid.xyz
by opm. 10/28/26 13:50
Icon "OP"
by JeyKey II. 10/27/26 07:03
ZorroGPT
by TipmyPip. 10/26/26 08:09
Chat Room for Zorro Programmers
by Haitao_Ren. 10/25/26 03:14
Trading Journey
by Haitao_Ren. 10/25/26 03:14
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
0 registered members (), 11,474 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
Haitao_Ren, JimSimons, julienp, julienper, KelleyAbbey
19247 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 | 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