UnrealScript reference

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 05:12, 21 April 2010 by 114.74.135.78 (talk) (Declarations: - correct me if Im wrong, first time I saw metadata was in tribesV)

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
Within clause 2,3
Interfaces 2s,3
Variables
Modifiers
Metadata 2s,3
Enumerations
Structures
Color
Vector
Rotator
Quaternion
Constants
Functions
Operators
New
Delegates 2,3
States
Replication block
Defaultproperties
Subobjects 2,3
Extends clause

Types

Primitive types
Reference types
Interfaces
Classes
Delegates
Composite types
Structs
Static arrays
Dynamic arrays 2,3
Typecasting
Metacasts

Literals

Numbers
Booleans
Strings
Names
Enumerations
Objects
Archetypes 3
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
Latent function