OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: Lone-Wolf on 15 Apr 2009, 21:13:08

Title: Strange Error Locating Script Files! Help!
Post by: Lone-Wolf on 15 Apr 2009, 21:13:08
I have been calling a script from within a trigger and it is unable to find it! No-matter where I put the script, be it my Script folder or in the mission folder, it comes up with the error: "Script TVscript1 not found!"

The trigger is as follows:

"[aresp1,_x] exec ""TVscript1""" forEach Thislist

I need help!

 :dunno:
Title: Re: Strange Error Locating Script Files! Help!
Post by: hoz on 15 Apr 2009, 21:15:29
try
Code: [Select]
"[aresp1,_x] exec ""TVscript1.sqs""" forEach Thislist
or
Code: [Select]
"[aresp1,_x] exec ""TVscript1.sqf""" forEach Thislist
depending on the script type.
Title: Re: Strange Error Locating Script Files! Help!
Post by: Lone-Wolf on 15 Apr 2009, 21:17:55
Of course...

I was just returning to remove my post - having suddenly realised it was a stupid question and i knew the answer - when i read ur reply.

Thanks for your time, it was an embarassingly stupid question...

 :-[  :-[  :-[