Home   Help Search Login Register  

Author Topic: filename paths...  (Read 676 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  ::)