I don't need to test my programs. I have an error-correcting modem.

Difference between revisions of "UnrealScript reference"

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
m
m (ForEach exists in all UnrealEngine generations)
Line 5: Line 5:
  
 
[[UnrealScript source file format]]
 
[[UnrealScript source file format]]
 +
 +
 +
* <sup>1</sup> &ndash; The above is available in [[Unreal Engine 1]].
 +
* <sup>2</sup> &ndash; The above is available in [[Unreal Engine 2]].
 +
* <sup>2s</sup> &ndash; The above is available in some builds of [[Unreal Engine 2]].
 +
* <sup>3</sup> &ndash; The above is available in [[Unreal Engine 3]].
 +
* <sup>3+</sup> &ndash; The above is available in later [[Unreal Engine 3]] versions, such as the [[UDK]].
 +
* (no number) &ndash; The above is available in all Unreal Engine generations.
  
 
===Declarations===
 
===Declarations===
Line 58: Line 66:
 
:[[Do loop]] [[Flow_control#Do-While_Loops|:Usage]]
 
:[[Do loop]] [[Flow_control#Do-While_Loops|:Usage]]
 
:[[For loop]] [[Flow_control#For_Loops|:Usage]]
 
:[[For loop]] [[Flow_control#For_Loops|:Usage]]
:[[ForEach loop]] <sup>2,3</sup> - Has examples of usage on its own page.
+
:[[ForEach loop]] - Has examples of usage on its own page.
 
:[[GoTo statement]] [[Flow_control#Goto|:Usage]]
 
:[[GoTo statement]] [[Flow_control#Goto|:Usage]]
 
:[[If statement]] [[Flow_control#Conditional_Statements|:Usage]]
 
:[[If statement]] [[Flow_control#Conditional_Statements|:Usage]]
Line 68: Line 76:
 
:[[Latent function]]
 
:[[Latent function]]
  
=====Key=====
+
[[Category:UnrealScript reference| ]]
* <sup>1</sup> &ndash; The above is available in [[Unreal Engine 1]].
+
* <sup>2</sup> &ndash; The above is available in [[Unreal Engine 2]].
+
* <sup>2s</sup> &ndash; The above is available in some builds of [[Unreal Engine 2]].
+
* <sup>3</sup> &ndash; The above is available in [[Unreal Engine 3]].
+
* <sup>3+</sup> &ndash; The above is available in later [[Unreal Engine 3]] versions, such as the [[UDK]].
+
* (no number) &ndash; The above is available in all Unreal Engine generations.
+
 
+
[[Category:UnrealScript reference|UnrealScript reference]]
+

Revision as of 03:00, 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

Classes
Within clause 2,3
Interfaces 2s,3
Variables
Modifiers
Metadata
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