Once I get that upgrade to 36-hour days, I will tackle that. – Mychaeel

Difference between revisions of "UnrealScript reference"

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
m (added extends to interface)
m (hmm)
Line 3: Line 3:
  
 
{{api-stub}}
 
{{api-stub}}
 +
=== UnrealScript ===
 +
[[UC_File|UnrealScript UC file format]]
  
[[UnrealScript source file format]]
+
* <sup>1</sup> &ndash; '''Topic''' is relevant to [[Unreal Engine 1]].
 
+
* <sup>2</sup> &ndash; '''Topic''' is relevant to [[Unreal Engine 2]].
 
+
* <sup>2x</sup> &ndash; '''Topic''' is relevant to some builds of [[Unreal Engine 2]].
* <sup>1</sup> &ndash; The above is available in [[Unreal Engine 1]].
+
* <sup>3</sup> &ndash; '''Topic''' is relevant to [[Unreal Engine 3]].
* <sup>2</sup> &ndash; The above is available in [[Unreal Engine 2]].
+
* <sup>3+</sup> &ndash; '''Topic''' is relevant to later [[Unreal Engine 3]] versions, such as the [[UDK]].
* <sup>2s</sup> &ndash; The above is available in some builds of [[Unreal Engine 2]].
+
* (no number) &ndash; '''Topic''' is relevant to all Unreal Engine generations.
* <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 19: Line 18:
 
::[[Extends clause]]
 
::[[Extends clause]]
 
::[[Within clause]] <sup>2,3</sup>
 
::[[Within clause]] <sup>2,3</sup>
:[[Interfaces]] <sup>2s,3</sup>
+
:[[Interfaces]] <sup>2x,3</sup>
 
::[[Extends clause]]
 
::[[Extends clause]]
 
:[[Constants]]
 
:[[Constants]]

Revision as of 22:59, 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

UnrealScript UC file format

Declarations

Preprocessor 3
Classes
Extends clause
Within clause 2,3
Interfaces 2x,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