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
Always digging for new approaches - this is a great way to do it. btw: the intro page doesn't load properly in this version? _________________________ |Morbane| Tintable Arcane Circles Tomb of Horrors PnP Conversion
Posted by Knightmare at 2010-05-0805:37:54
Thank you Elrawkum, comment/vote appreciated. - KM
Posted by Elrawkum at on05/07/10
Great introductory guide for a noob scripter.
Posted by Knightmare at 2010-05-0308:05:37
Tutorial updated. - KM
Posted by Knightmare at 2010-05-0305:07:58
Hmmm - SPAM attack (next posting below).
Posted by Knightmare at 2010-04-1206:01:36
Thank you for the vote tr0j - though admittedly I don't understand what the comment mean lol! - KM
Posted by tr0j at on04/12/10
thnurfl
Posted by Magnus at on03/29/10
Noted. :) All in good time though, thanks alot for the tip.
Posted by Knightmare at 2010-03-3010:29:35
Thanks Magnus Pym. And if I may say so - if you have any hope of building the PW you are after, you should definately learn the basics of script writing. Even if you are not the team scripter, you will at least have a better idea of what is doable and what is not. - KM
Posted by Magnus at on03/29/10
Hey KM, Maybe someday I'll pick up scripting... but that's only when computer's will read human minds. Haha! Nah if I ever want to pick it up I now know where I can get started. Thanks, Tom
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