Posts: 30
Threads: 13
Joined: May 2013
Reputation:
1
How do you guys check your errors when scripting? If i'm scripting something, and I make an error, instead of just seeing "Unknown Function: (See console for details)", how do I see the details?
AgentGOD's Liberation console doesn't show anything.
Posts: 3,054
Threads: 268
Joined: Feb 2011
Reputation:
63
Haven't been coding in GSC for a while, but when I was doing it - I was finding errors myself
Posts: 4,530
Threads: 254
Joined: Nov 2010
Reputation:
65
/logfile 2
and if that doesn't work, you either disable sections of the code until it works so you can point out where the mistake is, or you use the rubber duck method
Posts: 1,741
Threads: 93
Joined: Mar 2012
Reputation:
26
06-14-2013, 21:16
(This post was last modified: 06-14-2013, 21:17 by DidUknowiPwn.)
I thought if you get unknown function it wouldn't tell you what the function is?
Also for 4D1 haters there's a built in syntax crap that tells you what's missing and where it's from.
Do not take life too seriously. You will never get out of it alive.
Posts: 3,535
Threads: 420
Joined: Dec 2010
Reputation:
106
I used to check it by myself, so I used to code a few lines and then test the mod, if it gave error I knew quickly where the error was.