UnrealScript reference: Difference between revisions
From Unreal Wiki, The Unreal Engine Documentation Site
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 Added navbox, quicker to get there now. |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
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. | ||
==Key== | |||
* <sup>1</sup> – '''Topic''' is relevant to [[Unreal Engine 1]]. | |||
* <sup>2</sup> – '''Topic''' is relevant to [[Unreal Engine 2]]. | |||
* <sup>2x</sup> – '''Topic''' is relevant to some builds of [[Unreal Engine 2]]. | |||
* <sup>3</sup> – '''Topic''' is relevant to [[Unreal Engine 3]]. | |||
* <sup>1</sup> – | * <sup>3+</sup> – '''Topic''' is relevant to later [[Unreal Engine 3]] versions, such as the [[UDK]]. | ||
* <sup>2</sup> – | * (no number) – '''Topic''' is relevant to all Unreal Engine generations. | ||
* <sup> | |||
* <sup>3</sup> – | |||
* <sup>3+</sup> – | |||
* (no number) – | |||
===Declarations=== | ===Declarations=== | ||
:[[Preprocessor]] | :[[Preprocessor]] <sup>3</sup> | ||
:[[Classes]] | :[[Classes]] | ||
::[[Extends clause]] | ::[[Extends clause]] | ||
::[[Within clause]] <sup>2,3</sup> | ::[[Within clause]] <sup>2,3</sup> | ||
:[[Interfaces]] <sup> | :[[Interfaces]] <sup>2x,3</sup> | ||
::[[Extends clause]] | |||
:[[Constants]] | :[[Constants]] | ||
:[[Enum|Enumerations]] | :[[Enum|Enumerations]] | ||
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]] | ||
:[[Delegates]] <sup>2,3</sup> | |||
:[[Functions]] | :[[Functions]] | ||
:[[States]] | :[[States]] | ||
::[[Extends clause]] | ::[[Extends clause]] | ||
Line 48: | Line 46: | ||
::[[Delegates]] | ::[[Delegates]] | ||
:[[Types#Composite_types|Composite types]] | :[[Types#Composite_types|Composite types]] | ||
::[[Structs]] | ::[[Structs|Structures]] | ||
::[[Static arrays]] | ::[[Static arrays]] | ||
::[[Dynamic arrays]] <sup>2,3</sup> | ::[[Dynamic arrays]] <sup>2,3</sup> | ||
Line 60: | Line 58: | ||
:[[Literals#Enumeration|Enumerations]] | :[[Literals#Enumeration|Enumerations]] | ||
:[[Literals#Objects|Objects]] | :[[Literals#Objects|Objects]] | ||
:[[Literals#Structs|Structures]] | :[[Literals#Structs|Structures]] | ||
:[[Literals#Functions|Functions]] | :[[Literals#Functions|Functions]] | ||
===Flow | ===Flow=== | ||
See [[Flow control|Flow]] | |||
===Specifiers=== | |||
See [[Specifiers]] | |||
[[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
- 1 – Topic is relevant to Unreal Engine 1.
- 2 – Topic is relevant to Unreal Engine 2.
- 2x – Topic is relevant to some builds of Unreal Engine 2.
- 3 – Topic is relevant to Unreal Engine 3.
- 3+ – Topic is relevant to later Unreal Engine 3 versions, such as the UDK.
- (no number) – Topic is relevant to all Unreal Engine generations.
Declarations
- Preprocessor 3
- Classes
- Interfaces 2x,3
- Constants
- Enumerations
- Structures
- Variables
- Replication block
- Operators
- Delegates 2,3
- Functions
- States
- Defaultproperties
- Subobjects 2,3
Types
Literals
Flow
See Flow
Specifiers
See Specifiers
Declarations | Preprocessor • Classes • Interfaces • Cpptext • Constants • Enums • Structs • Variables (Metadata) • Replication block • Operators • Delegates • Functions • States • Defaultproperties (Subobjects) |
---|---|
Types | bool • byte • float • int • name • string • Object • Class • Enums • Structs (Vector ⋅ Rotator ⋅ Quat ⋅ Color) • Static arrays • Dynamic arrays • Delegates • Typecasting |
Literals | Boolean • Float • Integer • Names • Objects (None ⋅ Self) • Vectors • Rotators • Strings |
Flow | GoTo • If • Assert • Return • Stop • Switch • While • Do...Until • For • ForEach • Break • Continue |
Specifiers | Super • Global • Static • Default • Const |
UnrealScript | Syntax • .UC • .UCI • .UPKG • Comments • #directives • Native |