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

Difference between revisions of "UnrealScript reference"

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
m (Declarations: Added Preprocessor and sorted everything by Declaration order(e.g. coders usually add constants after the class declaration and then enums, structs and functions etc)
m
Line 15: Line 15:
  
 
===Declarations===
 
===Declarations===
:[[Preprocessor]]
+
:[[Preprocessor]] <sup>3</sup>
 
:[[Classes]]
 
:[[Classes]]
 
::[[Extends clause]]
 
::[[Extends clause]]

Revision as of 17:47, 21 April 2010

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
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
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