OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Walker01 on 20 Jun 2006, 21:15:38

Title: Script not found when mission is extracted til pbo...
Post by: Walker01 on 20 Jun 2006, 21:15:38
Hello!
I have got a strange problem when my mission is extracted to pbo (MP).  I wanted using Doolittle's enemyrespawn script in my mission. The script is launched in the beginning of the mission, launched in a trigger.

exec "enemyspawn/units.sqs" (where enemyspawn is a subfolder)

Everything worked perfectly as i wanted when i tried it in the editor. But as soon as i extracted it to pbo and tried it in MP (not even on dedicated server, but my own computer) i got the message:

Script enemyspawn/units.sqs not found

How is it possoible that it could not be found if it was working before in the editor?
Does anyone know what i have done wrong, or what i must do?

I am totally confuced. Huh

I appriciate your help.
Title: Re: Script not found when mission is extracted til pbo...
Post by: MrN on 20 Jun 2006, 21:17:58
I think I've had this before and IIRC instead of:
Quote
exec "enemyspawn/units.sqs"
try
Quote
exec "enemyspawn\units.sqs"

Title: Re: Script not found when mission is extracted til pbo...
Post by: Artak on 20 Jun 2006, 21:48:45
Indeed. Don't you just love the little differences in building a MP mission.  ;D :P
Title: Re: Script not found when mission is extracted til pbo...
Post by: Walker01 on 20 Jun 2006, 23:29:59
Thanx, it worked..
Title: Re: Script not found when mission is extracted til pbo...
Post by: Trapper on 21 Jun 2006, 17:30:06
Indeed. Don't you just love the little differences in building a MP mission.  ;D :P

Slash/Backslash is not only vital for multiplayer pbos.