I'm a doctor, not a mechanic

Difference between revisions of "UnrealScript reference"

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
m (hmm)
m (Added navbox, quicker to get there now.)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
 
 
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.
 
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.
  
{{api-stub}}
+
==Key==
=== UnrealScript ===
+
[[UC_File|UnrealScript UC file format]]
+
 
+
 
* <sup>1</sup> &ndash; '''Topic''' is relevant to [[Unreal Engine 1]].
 
* <sup>1</sup> &ndash; '''Topic''' is relevant to [[Unreal Engine 1]].
 
* <sup>2</sup> &ndash; '''Topic''' is relevant to [[Unreal Engine 2]].
 
* <sup>2</sup> &ndash; '''Topic''' is relevant to [[Unreal Engine 2]].
Line 26: Line 22:
 
::[[Color]]
 
::[[Color]]
 
::[[Vector]]
 
::[[Vector]]
 +
::[[Coords]]
 +
::[[Plane]]
 
::[[Rotator]]
 
::[[Rotator]]
 
::[[Quaternion]]
 
::[[Quaternion]]
Line 33: Line 31:
 
:[[Replication block]]
 
:[[Replication block]]
 
:[[Operators]]
 
:[[Operators]]
::[[New]]
+
::[[Operators#New operator|New]]
:[[Functions]]
+
 
:[[Delegates]] <sup>2,3</sup>
 
:[[Delegates]] <sup>2,3</sup>
 +
:[[Functions]]
 
:[[States]]
 
:[[States]]
 
::[[Extends clause]]
 
::[[Extends clause]]
Line 60: Line 58:
 
:[[Literals#Enumeration|Enumerations]]
 
:[[Literals#Enumeration|Enumerations]]
 
:[[Literals#Objects|Objects]]
 
:[[Literals#Objects|Objects]]
::[[Archetypes]] <sup>3</sup>
 
 
:[[Literals#Structs|Structures]]
 
:[[Literals#Structs|Structures]]
 
:[[Literals#Functions|Functions]]
 
:[[Literals#Functions|Functions]]
  
===Flow Control===
+
===Flow===
:[[Break statement]] [[Flow_control#Break|:Usage]]
+
See [[Flow control|Flow]]
:[[Continue statement]]
+
 
:[[Do loop]] [[Flow_control#Do-While_Loops|:Usage]]
+
===Specifiers===
:[[For loop]] [[Flow_control#For_Loops|:Usage]]
+
See [[Specifiers]]
:[[ForEach loop]] - Has examples of usage on its own page.
+
:[[GoTo statement]] [[Flow_control#Goto|:Usage]]
+
:[[If statement]] [[Flow_control#Conditional_Statements|:Usage]]
+
:[[Return statement]]
+
:[[Stop statement]]
+
:[[Switch statement]] [[Flow_control#Case_Statements|:Usage]] - case statements
+
:[[While loop]] [[Flow_control#While_Loops|:Usage]]
+
:[[Function call specifiers]]
+
:[[Latent function]]
+
  
[[Category:UnrealScript reference| ]]
+
{{Navbox unrealscript}}[[Category:UnrealScript reference]]

Latest revision as of 15:47, 25 May 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.

Key[edit]

Declarations[edit]

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

Types[edit]

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

Literals[edit]

Numbers
Booleans
Strings
Names
Enumerations
Objects
Structures
Functions

Flow[edit]

See Flow

Specifiers[edit]

See Specifiers