script error line numbers

Have questions about CoD4 mapping that aren't covered in the tutorials section? Post here!

Moderator: Core Staff

Post Reply
pcbouncer
CJ Fan
CJ Fan
Posts: 114
Joined: November 27th, 2012, 10:49 pm

script error line numbers

Post by pcbouncer » June 24th, 2013, 1:24 am

i see people have errors and it tells them the line.. but when i get a syntax error it never tells me the line... would be helpful if i knew how to

megazor
CJ Worshipper
CJ Worshipper
Posts: 414
Joined: July 22nd, 2009, 3:02 am
Location: Russia, Vladivostok

Re: script error line numbers

Post by megazor » June 24th, 2013, 3:05 am

You must test your mod with console commands /developer 1 and /developer_script 1

F |Madness| U
CJ G0D!
CJ G0D!
Posts: 1575
Joined: June 3rd, 2009, 9:02 pm
Location: Cardiff University, UK

Re: script error line numbers

Post by F |Madness| U » June 24th, 2013, 3:26 am

And when the mod fails with an error, open the console in full (shift + tilde/shift + `) to get the line number(s).
-

pcbouncer
CJ Fan
CJ Fan
Posts: 114
Joined: November 27th, 2012, 10:49 pm

Re: script error line numbers

Post by pcbouncer » June 24th, 2013, 6:57 am

thank a lot :)

Post Reply

Who is online

Users browsing this forum: No registered users and 29 guests