Category:Basic Scripting

From NWN Lexicon
Jump to navigationJump to search

Basics of NWNScript.

Type Brief Description

Code Block Delimiter

Delimits blocks of code ("{" and "}") for variable scoping, functions, loops, structs, and conditionals.

Comments

Delimiters for code annotations, and explanations.

Constants and const keyword

Symbols used to represent values that do not change.

Number Conversion Chart

Chart showing numbers 0 to 255 in binary, decimal and hexadecimal.

Semicolon

Semicolons (";") are used to end a logical line in a statement.

String Delimiter

Surround plain text in code so it is correctly interpreted as a string data type.

Struct

A structure for holding similar data.

Variables

A variable is a symbolic name for a value that can be changed.

Whitespace

Tabs, line breaks, and other white space can help break up code and make it easier to read.

Pages in category "Basic Scripting"

The following 9 pages are in this category, out of 9 total.