Absolute beginner's guide to scripting: Difference between revisions
Absolute beginner's guide to scripting (view source)
Revision as of 08:37, 20 February 2012
, 20 February 2012→Being specific
>Quenty No edit summary |
>Ajedi |
||
Line 70: | Line 70: | ||
=== Being specific === | === Being specific === | ||
When you first create a script, you have to '''know what it is meant''' to do at '''exactly what time''' and '''under what conditions'''. For a script | When you first create a script, you have to '''know what it is meant''' to do at '''exactly what time''' and '''under what conditions'''. For a script that kills your character it's pretty obvious what it needs to do: it kills you. Scripting is just giving commands to the computer, so you just need a line of code to do something to kill your character. | ||
'''''Remember that scripts can break with just one letter or symbol being wrong.''''' | '''''Remember that scripts can break with just one letter or symbol being wrong.''''' |