RPGDot Network    
   

 
 
Neocron
Display full image
Pic of the moment
More
pics from the gallery
 
 

Site Navigation

Main
   News
   Forums

Games
   Games Database
   Top 100
   Release List
   Support Files

Features
   Reviews
   Previews
   Interviews
   Editorials
   Diaries
   Misc

Download
   Gallery
   Music
   Screenshots
   Videos

Miscellaneous
   Staff Members
   Privacy Statement


 
Neverwinter Nights Scripting Lesson #5

(PC: Single- & Multi-Player RPG) | Posted by Rendelius @ Sunday - July 08, 2001 - 15:43 -
Top
| Game Info | Rate this game | Homepage | Screenshots
The fifth installment of Neverwinter Vault's scripting lesson is online now. It deals with functions:

    A function acts like a small program that is run when called. It performs work, and possibly returns a value, saving you typing out a lot of extra code.

    Like in NWN, the King gives you a quest, and you return the result, a Longsword of Gnome smashing +9. So instead of the King going and doing it himself, he gives the task to you to perform.

    Or maybe like in your school, where the teacher gives you work and your return the results to her. In that example, you would be the function.


Got it? *g*
 
 
All original content of this site is copyrighted by RPGWatch. Copying or reproducing of any part of this site is strictly prohibited. Taking anything from this site without authorisation will be considered stealing and we'll be forced to visit you and jump on your legs until you give it back.