OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: macguba on 04 Oct 2002, 22:05:35
-
My mission has gone mad. I created description.ext and had a test run, everything went fine. Played about a bit more then went for another Preview CRASH !! The error message says
mission\description.ext.': ';' encountered instead of '='
No big deal I thinks, there's a typo somewhere. Well I can't find it. The mission keeps crashing out. It works ok if there is no description.ext or if that file exists but is completely empty. I tried putting nothing in the file except
; test
and it still crashed out with the same error message.
Any ideas? ???
-
Let us see the what you wanted in your Ext, and maybe we can help you fix it.
We'd need to see the whole thing.
-
If it is indeed a typo involving : . You may want to copy and paste the description file into word and use the find option (under edit menu). Just put in : and go through every part of the file and see where you put :
Otherwise i have no clue how to solve your problem :(
-
Thanks guys. I've managed to establish that its not a typo. What I want to do is put some text notes in the file. In a script you can write
; this is just a note to say this script is rubbish
and I was trying to do the same thing in description.ext. That seems to be what the problem is. It won't accept ; at the start of a line.
Anybody know how you can put text notes in this file? Is it even possible?
-
class Weapons
{
class ak47
// this is a secret scientific formula I am smuggling out of the country
// in this .ext file. I'm so smart they'll never catch me... *knock*
// *Muffled voice* "Open up in there this is the KGB"
count = 2
};
Anyway... you get the idea ;)
-
Sui, you're my hero
:D
thanks pal