to help keep things sorted re: multiple directories, define the root directory of the application as a string variable using
get dir$ when the app launches (and, if you're using a lot of sub-directories, define those as well). ie:
root$ = get dir$
sound$ = root$+"/media/sound"
models$ = root$+"/media/models"
maps$ = root$+"/maps"
...
then later, whenever you want to load stuff:
...
set dir sound$
load sound "sound1.wav",1
load sound "sound2.wav",2
set dir models$
load object "model1.x",1
set dir root$
...
or, these variances work, too, without
set dir:
...
load sound sound$+"/sound1.wav",1
load sound root$+"/media/sound/sound2.wav",2
...
using this method also helps keep things sorted when you move its location on your computer or share the app with others, keeping it relative to wherever the app happens to reside.
Virtual Nomad @ California, USA
AMD Phenomâ„¢ X4 9750 Quad-Core @ 2.4 GHz . 8 GB PC2-6400 RAM
ATI Radeon HD 3650 @ 512 MB . Vista Home Premium