| View previous topic :: View next topic |
| Author |
Message |
cgruber
Joined: 06 Sep 2005 Posts: 36
|
Posted: Tue Sep 06, 2005 11:53 pm Post subject: Include external files? |
|
|
Is there away to have array in an external file and then reference it like #include in C?
My goal is to have all the maps be individual files represented by the level name (i.e 1.lua 2.lua 3.lua) |
|
| Back to top |
|
 |
MikeHaggar
Joined: 18 Jul 2005 Posts: 116
|
Posted: Wed Sep 07, 2005 1:20 am Post subject: |
|
|
| Something like dofile("./font.lua") u mean? ;) |
|
| Back to top |
|
 |
cgruber
Joined: 06 Sep 2005 Posts: 36
|
Posted: Wed Sep 07, 2005 1:22 am Post subject: |
|
|
:) Sure if that works
I don't like the documentation on lua.org... |
|
| Back to top |
|
 |
MikeHaggar
Joined: 18 Jul 2005 Posts: 116
|
|
| Back to top |
|
 |
cgruber
Joined: 06 Sep 2005 Posts: 36
|
Posted: Wed Sep 07, 2005 1:44 am Post subject: |
|
|
| Thanks for the links I'll take a look. The psp functions are pretty straight forward, the majority of my questions are lua specific. |
|
| Back to top |
|
 |
|