Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: filename paths...  (Read 767 times)

0 Members and 1 Guest are viewing this topic.

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
filename paths...
« on: 08 Aug 2005, 20:55:04 »
what's the syntax for accessing files from a folder within a mission folder?

i have tried

Code: [Select]
/folder_name/filename.paa
and

Code: [Select]
folder_name/filename.paa
but neither work. this is just from an un-pbo'd single player mission, and not even pbo'ing it helps...
« Last Edit: 08 Aug 2005, 20:57:44 by bedges »

Offline Baddo

  • Former Staff
  • ****
  • Reservist Jaeger
Re:filename paths...
« Reply #1 on: 08 Aug 2005, 21:00:59 »

This works at least for scripts in a folder inside the mission folder:

Code: [Select]
"uberScripts\header.sqs"

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
Re:filename paths...
« Reply #2 on: 08 Aug 2005, 21:07:11 »
yep, by looking at other missions i figured it out - the slash has to be the other way round, i.e.

Code: [Select]
foldername\filename.paa
duh, me stoopid  ::)