Difference between revisions of "Scripting Tutorial: My Second Script"
Jump to navigation
Jump to search
m
Scripting Tutorial: My Second Script (edit)
Revision as of 14:56, 6 January 2012
, 14:56, 6 January 2012→Code Comments
imported>8asrun6aer m (formatting fix) |
imported>8asrun6aer m (→Code Comments) |
||
|
===Code Comments===
Comments can be placed anywhere in-code with the semicolon character -
You use comments inside your scripts to generally explain what you are trying to accomplish in your code, which can help you and others understand what's going on inside the script quickly at a later date. Comments can also serve as a debugging technique by commenting out lines of code one-by-one to pinpoint the source of some odd or unintended effect in-game.
| |||