Basics

Basics of NWNScript.


TitleBrief Description
Code Block DelimiterDelimits blocks of code ("{" and "}") for variable scoping, functions, loops, structs, and conditionals.
CommentsDelimiters for code annotations, and explanations.
Constants and const keywordSymbols used to represent values that do not change.
Number Conversion ChartChart showing numbers 0 to 255 in binary, decimal and hexadecimal.
SemicolonSemicolons (";") are used to end a logical line in a statement.
String DelimiterSurround plain text in code so it is correctly interpreted as a string data type.
StructA structure for holding similar data.
VariablesA variable is a symbolic name for a value that can be changed.
WhitespaceTabs, line breaks, and other white space can help break up code and make it easier to read.