OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: adamski on 21 Apr 2003, 15:43:00

Title: Where to put the script file?
Post by: adamski on 21 Apr 2003, 15:43:00
Where shall I put the .sqs file?

I've done a trigger with the line

[player] exec "eld.sqs"

in the activation field. but when I enter the trigger area the game says it can't find the file.
Title: Re:Where to put the script file?
Post by: macguba on 21 Apr 2003, 15:45:38
The script file (and all other files) should be in the mission folder alongside the mission.sqm.    Make sure it isn't called eld.sqs.txt by mistake.
Title: Re:Where to put the script file?
Post by: adamski on 21 Apr 2003, 15:49:01
The script file (and all other files) should be in the mission folder alongside the mission.sqm.    Make sure it isn't called eld.sqs.txt by mistake.

Thanks. And the script should be working when in preview mode in the editor?
Title: Re:Where to put the script file?
Post by: adamski on 21 Apr 2003, 15:51:33
Yay. It's working :D.

Cheers.