NWN2 Scripting


NWN2 Editing

NWN2 Scripting

The Basics
Introduction
First Program
Seeing Results
Variables and Data Types
Comments
Functions
Data Conversion
Random Numbers
Concatenation
Arithmetic Operators
Compound Assignments
One More or Less
Precedence


Branching and Logic
Relational Operators
Open Branch
Closed Branch
Logical AND
Logical OR
Compound Statements
else if
switch-case

Looping
for-loop
while-loop
do-while

Functions
Functions Introduction
Passing Values

NWN2 Specific
Setting Global Variables
Getting Global Variables
Setting Local Variables
Getting Local Variables

NWN2 Waypoints
Waypoints Introduction
Static WP Sets
Dynamic WP Sets
Dynamic WP Cycles

NWN2 Iput/Output
Input Box

NWN2 Toolset
Toolset Controls

Goodies

Introduction to NWN2 Scripting


NWN2 Scripting uses a language close to C, complete with compiler. This is one of the most powerful and popular programming languages available.

It is the language used in the NWN2 (NeverWinter Nights 2) editor. It can be used to control the games environments, events, characters, and almost every aspect of gameplay. It is a great learning tool for those just learning their first programming language.


What You Need

Before you continue you need to have the following:

  • NeverWinter Nights 2

The boxed game comes complete with the NWN2 Editor. This is the editor that uses the NWN2 scripting.


What is NWN2 Scripting using the NWN2 Editor?

  • NWN2 Scripting using the NWN2 Editor, is actually close to the C language.
  • NWN2 Scripting using the NWN2 Editor, is a compiled language, meaning it will run very fast.
  • NWN2 Scripting using the NWN2 Editor is programmed using the NWN2 editor.
  • NWN2 Scripting using the NWN2 Editor uses a C compiler that comes with the NWN2 editor.
  • NWN2 Scripting using the NWN2 Editor can be used to control almost every aspect of the NWN2 game environment.
  • NWN2 Scripting using the NWN2 Editor with the NeverWinter Nights game environment offers an interesting and exciting way of learning a powerful and popular programming language.
  • NWN2 Scripting using the NWN2 Editor use of a standard programming language allows the user to move on to other applications using this language in other environments.


NWN2 Scripting provides material for training only. We do not warrant the correctness of its contents. The risk from using it lies entirely with the user. While using this site, you agree to have read and accepted our terms of use and privacy policy.

Copyright 2007 by Adamson House, Ltd. All Rights Reserved.

Questions or Comments: EMail Webmaster

Donations are to Adamson House, Ltd who maintains this site.
All donations go the the improvement of this site.



assembleas de dios en espa pl 777 israel tel airforce bauarbeiten deutsche bahn arizona nonprofit debt management comercializadora guerra 3071 main gate 7 accommodation amsterdam bed breakfast bank of america nursing checking account atex fiber optic converter dlink air plus xtreme g arcstone countertops autism colleges leicester being and linking verb lessons 1967 camaro las vegas austin powers pinball arzt allgemeinmedizin dresden augsburger baldwin county jail foley alabama black and white stripes layout din 43620 fuses jean muller amazing grace by r bruce carlton a computer from rand dr rosemary horstmann example of swot analysis of kmart atrick boyd army reserve employer responsibilities alberta boat operators licence apac southeast accent fireplace bind bad name check-names anc courtney park 16 castle rock supper club 2 flash games kelly brook deitra null ali g steve nash adobe creative suite educational discount caterers honolulu attorney andy jonas bridge yachts port dover denis abidi auto insurance chesterfield va 22rd june 2007 australian company enquiry 17 2006 com kenseth matt 144mph charger 3d anime females 360 library cheap tubular lock picks for sell exercise shirts fit happens buddy holly eyeglasses als truck and tractors stratford ct adventure fund raising banque commerciale du sahel mali 10 reasons to date a geek 5 dimension of emotional intelligent journal 7 lottery number ontario super ccpm zertifikat nasdaq 50 cent feat justin timberlake timberland australia satellite tv split enz countdown 12 mail tubes 1933 united states 13 teen year old vagina 2007 ski-doo freestyle review california subpoena witness fees affects humans have on macaroni penguins dreams that happen in real life airplanes breaking sound barrier a335 gr p91 manufacturing banana muffins rum vanilla army tank puzzles african artist irma south stern alycium paramount hooded jacket british commando knife for sale alex dane hardcore video dominic costa merck ann coulter tucker carlson 3 animacion dimensiones en austin travis county landfill 2008 offshore boat races nj 1960 thunderbird dimensions active gaming system apartments for rent in greenfield mas bev retail spotlight retail responsibility 1968 husqvarna for sale chen man ching tai chi books 1920x1200 8800gtx 3dmark scores 21st centery communications combine functional usability testing bending 4 rigid pipe 4 cup espresso machines 123 li ion technology conklin goalie bbc chased by sea monsters documentary 82 peachtree street atlanta atlantic coastal plain maps aquifers under teh continental crust animal shaped 2738 messages optimum mail news tip abducted sisters comics bansky graffiti 1 bank one artisan behavioral styles baton rouge ottawa burnt cal sheriffs animation beretta pistol 3310 composed nokia tone 18 couples anti dog pile all about anita shreve barefoot calcium physician 150mw laser pointer baptism of christ painter della francesca billie joel chords apes congo compassion 165 courtyard lane fayetteville ga 30215 a j fine state college bella mare apartments coolangatta 121 river rd georgetown texas barbecued ribs cooked in crockpot 10 ten charts kiss 3.2 billion webex cisco shares buy buying a used renault r acromioclavicular junction 02 sense on 1982 isuzu pup chappelle different strokes cell phone faceplates samsung administrative law judge position albuquerque 1968 carmen gia 3d loli ru bloomfield taxonomy 2 antas ng gamit ng wika adopt a penguins 2006 toyota sequoia memory seat 1976 phymouth arrow 2007 grammy awards and performances broughton copenhagen attractions in fraser valley air tickets booking doyan intestinal forceps 4x forex made easy beginning zen meditation ashbury pointe apartments chloroform contamination abc family wildfire season 3 12 months bank statement programs granite motley crue adjusting 4btv traps 300 level astronomy courses online black widow and repellant anybody hear of a clyde slide ab back exercise 2000 dodge intrepid cruise control problems 2007-2008 salary raise for texas educators droplet squeeze amend clay soil with 99.7 fm homepage 12 lead ecg basics baked apple dumpling with pecan streusal brigitte haas alan dennis bond credit exempt tax 30000 lbs pro comp recovery straps 1902-2006 alabama brunhilde kr mer all steak resultant al cullman by pass nurseries country world 2 miles fiber backbone single mode 2003 ford explorer heater fan troubleshooting 68-71 mustang window crank knobs monica burundi pacheco universidad de granada black betty bam a lam after breath eating shortness barcode producer activation code antique carbine sights excel 2000 highlight protected cell 22 poll right direction adjust horizontal hold on ultravision tv companies with stages of organizational decline althletic shorts in plus sizes back lighted keyboards 10 ga 5 pin din cable 100 free boob pics abidjan cocoa merchant buy cheap church fundraising idea ancient sports of belize comparing and ordering fractions powerpoint asa 2008 virtual test prep private blitz basic 3d crack discount airline tickets flights dunk island australian institute of certified planners aviosys motion detect not working ada county air quality commission 1963 pearl harbor cv garry seth smith colorado rockies atbash da vinci code adirondeck chairs pensacola florida allyanna jean pageant 500 600 ss parachute battleon carolyn adlesperger about the first maytag washer 4 point grading 3800 v6 chevy venture coolant leak alliance injectors international british colonial flatware by lenox a heart transplant coleman slider a daughter in danger kathrine lester adopt a pig bedfordshire athletics europa cup results 440a chemical composition ambra class submarine 220 volts 3 phase graph bay st louis zoning 70 s dread locks pictures 1210 am in philly club marina in las galetas tenerife recipe for the lightest tallest bisquits 3d max plugins vray aries instrumentation unit proposal 100 ltv investment property loans 2100 sherman avenue suite 100 a rocker used for gold mining augusta-state-medical-prison mccarthy aurora borealis initial pendant j skillz teri akh sharabi mp3 darrell waltrip dew 1419 104th ave se bellevue 98008 answer the phone darrell mccall coed bathroom 120 degree milling cutter compare mouse and fly hox genes 1982 ibm pc bench show springer spaniel pup dr valerie kinney cincinnati oh prostitutes canon ef 2x autofocus animal denver humane shelter society causes of increased paco2 aces fencing accept mastercard citi discount palm tungsten e bill hickey associates orland park il big floppy donkey 20 random question afghan communities in london allen tate realtors concord north carolina 1980 olympics cold war baga o de cana ace troubleshoot have it all 1500 disney quebec vacation astuce et soluce pour jeu video alaska camper ferry a better behaved dog oregon antony worrall thompson knives 3m epoxy paint 1971 chevelle near west plains missouri allergies to rats angrycountry com press releases 2 extra mortgage payments per year auto remote modifications bed linen budapest comforter bed sheet 3544 phillips 1000 american cocker spaniel cut act 431 georgia appeals 301 evergreen minnesota beyonce knowles and the lemonade diet ashby dalton post mn 1 160 ana colin ferrell the burges doggie 4 fun 3 star hotels in south beach 1926 ford frame dimensions 1991 jetta 1995 cadillac seville traction disabled corinth founded in the 800s 97.5 body temp adam zenger arrest 32mb ati radeon agp driver acrosstick poem about muslim revelation 3d ornament complete moisture plus saline solution airline attendant flight job 2006 calendar daily moon sign big muscular men calculating fsps supplemental anat egyptian aspirin arthritis dogs 1993 suzuki rm 125 plastics ap 42 emission rates bird cages finch canary critizims of erickson a a professional cooling heating barney dinosaur product purple charles schultz ice skating 2006 insurance life survivorship bill and boyd 27 dresses marietta artesan tulip bun foot cost electron microscope deisal zach avis juicy 7 carnell guthrie comanche abrc exams jody allen raw cookbook accupuncture in oak brook il 7 inch touch screen 3rd grade coloring pages abc wset tv in lynchburg virginia 21 gollegiate park fairbanks ak actor mario lopez nude apple cranberry cashew spinach salad recipe 1970 chevelle ss information a rose for emily lessons asian dick sucking angie patty virgin larry cock brutal andritz headquarters liquid solid separation cystic fibrosis explained simply california mandatory direct deposit atf fencing 05 sequoia grill on 03 frank kroger lacey acute neck injury causing migraine headache balanced body pilates 100th birthday celebration symbols 2007 email directory of managing directors 12 winter school days alicante self catering alliance bank discontinue quicken net connect bag drying racks bert backarach casio keyboards with piano style keys 2002 home run derby infocus 350 lamp module 1994 act equity home ownership protection billfisher ii kona 275 fountainebleau boulevard miami florida 1890 kentucky obituaries 100 cotton canvas inkjet paper 91 s10 cowl induction hood bulletproof vests and bulletproof custom lining christian goth art photography birth defects of hands 4413 n keystone chicago il 3 boobs 1111 25th st nw 709 301 of turkey asian milking a flag of alberta 1990 f150 fule pumps a430-300 seating layout olympic airlines 07th expansion band silhouette piano bong animated gifs 2000 stan mundy tennis south carolina bobby thomson pitcher shot heard 1993 acura legend body parts fender buy nordic reach magazine browse categories link recent check billit grill inserts chill bears sky lounge airplane abbey album beatles cover road black and decker undercabinet toaster oven 1800 s cornhill utica ny blu 94952 athens greece orthodox services a i dupont middle school 1 clean 9mm gun holsters carriage ridge resort horseshoe valley disco boogie inferno dance sonora allen and peterson cooking school david morgan millionaire las vegas airline crew getting vertigo bed and breakfasts grey county 52 stafford an irosh guest house crowne plaza at quaker squere akron 32,000 scientists global warming 6th earl of stradbroke 555 timer sound bgsu college hotties 1995 chevy lumina electrical 1973 chevrolet chevelle sale sell greasewood flatts active health labs 2400 fulton california andrea lorenzo meza aps educational responsibility annette jenkins spokane cases of excessive police force article incorporation california 401k account ashland kentucky 2x2 suspended ceiling tiles 70s madden shoes steve womens a silhouette that just wont heal 1992 700r4 modifications argentina losses to foreign investors 32 mm construction boring alto vocal range key amanda belle balancing on a surfboard 527 par drive marion arkansas ephrata church of the nazarene garner adrac bulletin acronym does marvel stands abaco inn disco 2000 video pulp but silly scary video accommodation glasgow city centre bishop charles h brent oxford movement actors in saving private ryan capitalisum vs happiness 10 week pregnant picture apple ibook g3 wireless card 1962 oldsmobile jetfire lower radiator hose 50 gallon tempo gas tank air break disconnect switches andrea 2007 2008 bac cartoon tickling a l champ tony busted all the way mp3 amy smart carmen electra kiss pic a friend to chat dog chapman son who sent tape 1999 miata diagnostics ground ten adrian and kirby 14 essential sugar for body bareback gay anal fucking backyard decoration acid indicators amon and matthew votypka 15 inch alloy wheels bend the spoon 21st birthday design invitation amplifier headphones external mic adult seizures byrne hole alice springs adidas outlet st augustine fl bob fitts victory chant booker hs athletics albany georgia chihuahua breeders diclofenac sodium ec tabs 1500 calorie diabetic meal plans 1985 play by peter shaffer 32 rca entertainment series x-box ready barnwood crosses cadd file naming conventions for architects 911s early registry 06-07 south dakota boys ball rankings