I started writing this for somebody, figured I may as well post it for others. It is incomplete (ie. hopefully more to come) and I'll add to it as I have the time and willpower. If I have any major things wrong, please let me know.
This guide is meant for the total scripting noob. Someone who does not know a single thing about creating a script. Hell, it�s for the person who doesn�t even know where the Script Editor is in the toolset. While written with NWN2 in mind, the majority of this tutorial should still apply to NWN1 as well.
I�m not a scripting guru by any means. In fact, I�m perhaps only an advanced noob myself. But, what I do know is mostly self-taught in the toolset and through the help on the Bioware forums from those who are the gurus (thank you all). I�ll probably make a lot of mistakes in what I call this and that, but this guide is not really about learning all the technical stuff, more it�s me trying to teach you how to teach yourself and learn this scripting (based solely off my own scripting ventures). I�m not going to discuss the intricate details of how to do a lot of stuff with scripting, there plenty of other great guides already available for that � but many of them are written in such a way the author assumes you know at least something about scripting (I know, I tried a bunch of them), even the �basic� ones. Hopefully this will help you to make some sense of those other excellent guides.
Current topics covered within this tutorial:
- Script Assist
- "Reading" a Script
- Combining Scripts
- Conditionals
- Variables
- Prefab/Template Scripts
- Conversation Starting Conditionals
- Include Scripts/Custom Functions
- Looping Through Objects ("while" command)
- Looping Through Objects ("for" command)
- Switch/Case Command
- Equivalency Tests
- Saving Your Script/Common Errors
- Where to Place Your Script
For those who can't view PDF format Adobe Reader is a free download from their website - Link
still confusing but I did learn alot from this, thank you
Posted by Knightmare at 2010-07-2123:18:12
NP there GfL, always happy to help out. Thank you for the vote! - KM
Posted by Games at on07/20/10
TKM, I couldn't have done it without you! _________________________ Teaching is about having students create their own understanding of the world. Grade One Module Report: Word Doc
Posted by Knightmare at 2010-07-0507:57:32
Thank you Vidal!
Posted by Vidal at on07/02/10
Absolutely great... thanks for doing it!
Posted by Knightmare at 2010-06-2304:15:21
Thank you kamal!
Posted by kamal at on06/20/10
Giving it the vote it deserves. _________________________ Shadow Thief: Crimmor and Path of Evil blog Link
Posted by Knightmare at 2010-06-1304:18:17
Thank you for the last few comments and votes! Oooooo, one more until that illusive and magical "25 votes" LOL. Seriously, thanks. Questions/comments/suggestions always welcomed! - KM
Posted by Apep at on06/12/10
This guide is about the best bare bones introduction to scripting around and given that the nwn2scripting.com site seems to have gone down recently (correct me if I'm wrong), this is my #1 recommendation for new scripters. _________________________ AP Magical Miscellanea Package (v1.5, over 750 items): Link
10 - A Masterpiece, Genuinely Groundbreaking 9 - Outstanding, a Must Have 8 - Excellent, Recommended to Anyone 7 - Very Good, Deserves a Look 6 - Good, Qualified Recommendation 5 - Fair, Solid yet Unremarkable 4 - Some Merit, Requires Improvements 3 - Poor Execution, Potential Unrealized 2 - Very Little Appeal 1 - Not Recommended to Anyone