For the sake of organization, I'm putting some of the scripts I'm using in my mission in a subfolder within the mission folder (For example: "\mission.eden\scripts\script.sqs")
I execute the script in the mission by adding the following to a unit's init: "[this,0] exec "/scripts/script.sqs" and preview the mission, and that works fine.
However, if I PBO the file via the mission editor and play it as an SP or MP mission, I get this error when I reach the briefing screen:
"Script /scripts/script.sqs not found"
I re-extracted the PBO and the script is still there, intact, so it didn't get left out. I tried compressing the mission with MakePBO, rather than through the mission editor, and that doesn't make any difference. It just works fine in the mission editor, but doesn't once the mission is compressed, and I can't figure out why. What am I doing wrong?