OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: bedges on 08 Aug 2005, 20:55:04

Title: filename paths...
Post by: bedges 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...
Title: Re:filename paths...
Post by: Baddo 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"
Title: Re:filename paths...
Post by: bedges 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  ::)