OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: zaphar on 30 Jan 2004, 07:35:50

Title: error too long
Post by: zaphar on 30 Jan 2004, 07:35:50
Hi, I am having a problem where there is an error in my script, but the line of code is so long that I am unable to see what the error is when it is displayed ingame. Is there a way to scroll the text over or something?
Title: Re:error too long
Post by: Captain Crunch on 30 Jan 2004, 09:00:31
Not in the game. You will have to look in the script itself and find out where the problem is from there.

   Maybe You can try and post it here. Maybe I can take a look at it. I'm far to be a good scripter, though there are lots of them here!!  ;)

Title: Re:error too long
Post by: icarus_uk on 30 Jan 2004, 14:22:14
Read the first part of the line in the editor, find the line in the script, and look for the error.

If you cnt find the error, posting it here would most likely find a solution.
Title: Re:error too long
Post by: zaphar on 30 Jan 2004, 17:43:21
ok I found out what the problem was, however I did it by putting the second half of the line onto a new line like

if(blah blah)
then {do this stuff};

I'm not sure if this would work correctly but it seemed to...