Cogito, ergo sum

UnrealScript reference

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 13:45, 20 April 2010 by 00zX (Talk | contribs) (okay done for now)

Jump to: navigation, search

This group of articles describes UnrealScript language features at the source code level. It is no official document, but aims to cover all features of the UnrealScript language as it is implemented in the Unreal Tournament series. Note that there may be additional features in the implementation of UnrealScript in licensee games.

UnrealScript source file format

Declarations

Classes
Interfaces (only Unreal Engine 3 and some Unreal Engine 2 games)
Variables
Metadata
Enumerations
Structures
Color
Vector
Rotator
Quaternion
Constants
Functions
Operators
Delegates (not in Unreal Engine 1)
States
Replication block
Defaultproperties
Subobjects (not in Unreal Engine 1)
Extends clause

Types

Primitive types
Reference types
Interfaces
Classes
Delegates
Composite types
Structs
Static arrays
Dynamic arrays (not in Unreal Engine 1)
Typecasting

Literals

Numbers
Booleans
Strings
Names
Enumerations
Objects
Structures
Functions

Flow Control

Break statement [ Usage ]
Continue statement
Do loop [ Usage ]
For loop [ Usage ]
ForEach loop - Has examples of usage on its own page.
GoTo statement [ Usage ]
If statement [ Usage ]
Return statement
Stop statement
Switch statement [ Usage - case statements ]
While loop Usage
Function call specifiers