Worst-case scenario: the UEd Goblin wipes the map and burns down your house.

UnrealScript reference

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 20:33, 21 April 2010 by 00zX (Talk | contribs) (added extends to interface)

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

Preprocessor 3
Classes
Extends clause
Within clause 2,3
Interfaces 2s,3
Extends clause
Constants
Enumerations
Structures
Extends clause
Color
Vector
Rotator
Quaternion
Variables
Modifiers
Metadata 2s,3
Replication block
Operators
New
Functions
Delegates 2,3
States
Extends clause
Defaultproperties
Subobjects 2,3

Types

Primitive types
Reference types
Interfaces
Classes
Delegates
Composite types
Structures
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