|
|
Neverwinter Nights Scripting
|
|
- Posted 7:37 AM By Kagato
|
|
0 Comments | Add
|
Neverwinter Nexus has posted a Q&A session with BioWare's Mark Brockington about the scripting methods they use in Neverwinter Nights. Check it:Q: What will the syntax and structure of NWScript be like?
A: The syntax of NWScript, in large part, resembles C with some of the extensions/restrictions imposed by Java. We allow for variables, user-defined functions and structures. There are some key features of C/Java that are missing: these include arrays, pointers, call-by-reference semantics and classes.
Each script, in a very similar way to a C program, starts with a "void main()" function, and can go to any user-defined functions within that script, or access any of the functions that we've exposed to the end-user.
At last count, there are over 700 constants in the NWScript language definition file, and over 250 functions for accessing variables and actions on objects in the game world. Can you say sweeeeet! Talk about one customizable game - cannot wait to get my hands on this one!
Source: Neverwinter Nexus
|
0 Comments Posted
Add a comment
You have to be logged in in order to post comments..
If you don't have an account yet? Follow this link!
|
|
Who do you think makes the best gaming console?
|
|
Microsoft
263
|
Nintendo
41
|
Sony
161
|
votes: 465
|
Polls
|
|
April
|
S | M | T | W | T | F | S |
| 1 | 2 | 3 | 4 | 5 | 6 |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 | | | | |
|
|
|