PDA

View Full Version : Calling other scripts?


Deyja
04-11-2001, 12:23 AM
Can you call scripts from ones that are started everytime you start a new game? (game_startup.ini)  If so what's the command?

Alen Ladavac
04-11-2001, 02:53 AM
Using the 'include' statement. Check out the scritps in GLSettings directory. You can learn a lot about stuff like that from there.

Alen

Deyja
04-11-2001, 04:45 AM
Thanks Alen.
A little more in-depth question this time...
So the include statement works the same way as it would in, umm..php?  it just dumps all the code in there, then execute? or does it execute it then pass on the variables/data to the current script?

Alen Ladavac
04-11-2001, 11:44 AM
Hm. How to explain this. I don't know how php does it. This works in the same way as in C. At the preprocessor level. Effect is same as if you have copy-pasted it there.

Alen

Oblivion
04-11-2001, 10:56 PM
thats how php works :)


php rulez,
its the l33t h5x0rZ internet language :P