The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall
UnrealScript reference
From Unreal Wiki, The Unreal Engine Documentation Site
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]
- 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[edit]
- Preprocessor 3
- Classes
- Interfaces 2x,3
- Constants
- Enumerations
- Structures
- Variables
- Replication block
- Operators
- Delegates 2,3
- Functions
- States
- Defaultproperties
- Subobjects 2,3
Types[edit]
Literals[edit]
Flow[edit]
See Flow
Specifiers[edit]
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 |