- •Index of Unreal Script
- •Unreal Script Pag. 2
- •Tutorials Pag. 111
- •FlakCannon Class Declaration
- •The Variable Declaration
- •I n t e g e r Keyword: int
- •Integer Example
- •Integers and Floats Don't Mix
- •Struct Example
- •For Loop Example
- •Do Loop Example
- •While Loop Example
- •Switch Statement Example
- •Simple Function Example
- •The Weapon Idle State
- •Default Properties Variable
- •New Variable Declarations
- •UnrealScript Language Reference
- •Introduction
- •Variables
- •Expressions
- •Functions
- •Program Structure
- •Language Functionality
- •Advanced Language Features
- •Accessing default values of variables
- •Accessing default values of variables in a variable class
- •Accessing static functions in a variable class: Static functions in a variable class may be called using the following syntax.
- •Advanced Technical Issues
- •Vectors and Rotators
- •Mod Authoring for Unreal Tournament
- •Introduction
- •The Lazy Man's Guide
- •Some Advice to Start With
- •The Three Mod Types
- •A Few Things to Watch Out For
- •Getting Dirty: Setting Up Your Project.
- •How You Build Your Package
- •Making a Mutator
- •The Anatomy of Mutator
- •Introduction to GameTypes
- •A First Look at GameInfo
- •DeathMatchPlus, a specific game type. Adding a Heads Up Display
- •Adding a Scoreboard
- •Uwindows
- •It all begins with uWindowBase?
- •It didn't compile!
- •Object Oriented Logic Tutorial
- •Introduction
- •Events:
- •Engine.Actor Functions:
- •Latent Functions:
- •Iterator Functions
- •Events:
- •Physics Modes:
- •Game Startup:
- •The Actor Class
- •Imported Data
- •The Object Class
- •Integer operators
- •Integer functions
- •Tutorials
The Object Class
Class Definition
class Object intrinsic; Serves as the base class of all objects in Unreal.
Data Members
ObjectInternal var intrinsic private const int ObjectInternal[6]; ???
Parent var intrinsic const parent; The object's parent object, used for scoping purposes.
ObjectFlags var intrinsic const int ObjectFlags; The object's flags, described in the package documentation.
Name var(object) intrinsic const editconst name Name; The object's name.
Class var(object) intrinsic const editconst class Class; The object's class name.
Class Structure Definitions
BoundingBox struct BoundingBox { var vector Min, Max; var byte IsValid; }; A bounding box, used for collision purposes.
BoundingVolume struct BoundingVolume expands boundingbox { var plane Sphere; }; A bounding box sphere together, used for collision purposes.
Color struct Color { var() config byte R, G, B, A; }; A color value structure.
Coords struct Coords { var() config vector Origin, XAxis, YAxis, ZAxis; }; An arbitrary coordinate system in 3d space.
DynamicArray struct DynamicArray { var const int Num, Max, Ptr; }; A dynamic array.
DynamicString struct DynamicString { }; A dynamic string.
Guid struct Guid { var int A, B, C, D; }; A globally unique identifier.
Plane struct Plane expands Vector { var() config float W; }; A plane definition in 3d space.
Rotator struct Rotator { var() config int Pitch, Yaw, Roll; }; An orthogonal rotation in 3d space.
Scale struct Scale { var() config vector Scale; var() config float SheerRate; var() config enum ESheerAxis { SHEER_None, SHEER_XY, SHEER_XZ, SHEER_YX, SHEER_YZ, SHEER_ZX, SHEER_ZY, } SheerAxis; }; Structure used for scaling and sheering.
Vector struct Vector { var() config float X, Y, Z; }; A point or direction vector in 3d space.
Class Constants
MaxInt const MaxInt = 0x7fffffff; Value of the maximum integer.
Pi const Pi = 3.1415926535897932; Value used for PI.
Class Intrinsic Operators and Functions
Bool Operators
! intrinsic(129) static final preoperator bool ! ( bool A ); Logical negation operator
== intrinsic(242) static final operator(24) bool == ( bool A, bool B ); Equality operator
!= intrinsic(243) static final operator(26) bool != ( bool A, bool B ); Inequality operator
&& intrinsic(130) static final operator(30) bool && ( bool A, skip bool B ); Logical AND operator
^^ intrinsic(131) static final operator(30) bool ^^ ( bool A, bool B ); ??? if you know please email me the answer, TIA, Valiant
|| intrinsic(132) static final operator(32) bool || ( bool A, skip bool B ); Logical OR operator
Byte Operators
*= intrinsic(133) static final operator(34) byte *= ( out byte A, byte B ); Multiplication operator
/= intrinsic(134) static final operator(34) byte /= ( out byte A, byte B ); Division operator
+= intrinsic(135) static final operator(34) byte += ( out byte A, byte B ); Addition operator
-= intrinsic(136) static final operator(34) byte -= ( out byte A, byte B ); Subtraction operator
++ intrinsic(137) static final preoperator byte ++ ( out byte A ); Increment preoperator
-- intrinsic(138) static final preoperator byte -- ( out byte A ); Decrement preoperator
++ intrinsic(139) static final postoperator byte ++ ( out byte A ); Increment postoperator
-- intrinsic(140) static final postoperator byte -- ( out byte A ); Increment postoperator