Difference between revisions of "Debug Scripts"

No change in size ,  08:21, 13 November 2006
imported>AdiBeiElderScrolls
imported>AdiBeiElderScrolls
You still can make syntax errors, that are not discovered or use functions, that work as a return statement.
 
Ingame you won't get a message about a problem, except that your script seems not to do, what it should do. But if the interpreter for the script finds some errors or return function, it just will just cancel script execution at the point, where the error is found.
 
It took me a whole day to find out, why my script was not executed. And the reason was, that I mixed the commands [[GetCurrentAIPackage]] and [[GetIsCurrentPackage]].