Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

Core.Object

Modifiers
native noexport

Core.Object

Direct Known Subclasses:

Actor, Bitmap, BrushBuilder, Canvas, Commandlet, Console, LevelSummary, Locale, Palette, Player, RenderIterator, SecurityData, Subsystem, TestObj, Time, UWindowBase, UWinInteraction

Constants Summary
MaxInt=0x7fffffff
Pi=3.1415926535897932
RF_NotForClient=0x00100000
RF_NotForEdit=0x00400000
RF_NotForServer=0x00200000
RF_Public=0x00000004
RF_Transactional=0x00000001
RF_Transient=0x00004000

Variables Summary
intObjectFlags
intObjectInternal[6]
objectOuter
Object
classClass
nameName

Enumerations Summary
ESheerAxis
SHEER_None, SHEER_XY, SHEER_XZ, SHEER_YX, SHEER_YZ, SHEER_ZX, SHEER_ZY,

Structures Summary
BoundingBox
Min, Max, IsValid
BoundingVolume
Sphere
Color
R, G, B, A
Coords
Origin, XAxis, YAxis, ZAxis
Guid
A, B, C, D
Plane
W
Quat
W, X, Y, Z
Rotator
Pitch, Yaw, Roll
Scale
Scale, SheerRate, SheerAxis
Vector
X, Y, Z

Functions Summary
preoperatorbool ! (bool A)
operatorbool != (rotator A, rotator B)
operatorbool != (int A, int B)
operatorbool != (vector A, vector B)
operatorbool != (name A, name B)
operatorbool != (float A, float B)
operatorbool != (Object A, Object B)
operatorbool != (string A, string B)
operatorbool != (bool A, bool B)
operatorbool != (Quat A, Quat B)
operatorstring $ (coerce string A, coerce string B)
operatorfloat % (float A, float B)
operatorint & (int A, int B)
operatorrotator & (rotator R1, rotator R2)
operatorbool && (bool A, skip bool B)
operatorQuat * (Quat A, float B)
operatorQuat * (Quat A, Vector B)
operatorQuat * (Vector B, Quat A)
operatorCoords * (Coords A, Coords B)
operatorrotator * (float A, rotator B)
operatorfloat * (float A, float B)
operatorQuat * (float B, Quat A)
operatorvector * (vector A, float B)
operatorint * (int A, int B)
operatorvector * (vector A, vector B)
operatorvector * (float A, vector B)
operatorrotator * (rotator A, float B)
operatorQuat * (Quat Q1, Quat Q2)
operatorfloat ** (float A, float B)
operatorrotator *= (out rotator A, float B)
operatorCoords *= (out Coords A, Coords B)
operatorbyte *= (out byte A, byte B)
operatorQuat *= (out Quat A, float B)
operatorvector *= (out vector A, float B)
operatorCoords *= (out vector A, Coords B)
operatorfloat *= (out float A, float B)
operatorvector *= (out vector A, vector B)
operatorCoords *= (out Coords A, rotator B)
operatorint *= (out int A, float B)
operatorint + (int A, int B)
operatorQuat + (Quat A, Quat B)
operatorfloat + (float A, float B)
operatorrotator + (rotator A, rotator B)
operatorvector + (vector A, vector B)
preoperatorbyte ++ (out byte A)
postoperatorint ++ (out int A)
preoperatorint ++ (out int A)
postoperatorbyte ++ (out byte A)
operatorint += (out int A, int B)
operatorvector += (out vector A, vector B)
operatorfloat += (out float A, float B)
operatorQuat += (out Quat A, Quat B)
operatorrotator += (out rotator A, rotator B)
operatorbyte += (out byte A, byte B)
operatorQuat - (Quat A, Quat B)
operatorvector - (vector A, vector B)
preoperatorvector - (vector A)
preoperatorint - (int A)
operatorrotator - (rotator A, rotator B)
operatorfloat - (float A, float B)
operatorint - (int A, int B)
preoperatorfloat - (float A)
preoperatorbyte -- (out byte A)
postoperatorint -- (out int A)
preoperatorint -- (out int A)
postoperatorbyte -- (out byte A)
operatorQuat -= (out Quat A, Quat B)
operatorrotator -= (out rotator A, rotator B)
operatorbyte -= (out byte A, byte B)
operatorint -= (out int A, int B)
operatorvector -= (out vector A, vector B)
operatorfloat -= (out float A, float B)
operatorvector / (vector A, float B)
operatorrotator / (rotator A, float B)
operatorfloat / (float A, float B)
operatorint / (int A, int B)
operatorint /= (out int A, float B)
operatorCoords /= (out Coords A, rotator B)
operatorfloat /= (out float A, float B)
operatorvector /= (out vector A, float B)
operatorrotator /= (out rotator A, float B)
operatorbyte /= (out byte A, byte B)
operatorQuat /= (out Quat A, float B)
operatorbool < (int A, int B)
operatorbool < (string A, string B)
operatorbool < (float A, float B)
operatorint << (int A, int B)
operatorvector << (vector A, rotator B)
operatorbool <= (float A, float B)
operatorbool <= (string A, string B)
operatorbool <= (int A, int B)
operatorbool == (float A, float B)
operatorbool == (rotator A, rotator B)
operatorbool == (bool A, bool B)
operatorbool == (Quat A, Quat B)
operatorbool == (Object A, Object B)
operatorbool == (string A, string B)
operatorbool == (name A, name B)
operatorbool == (int A, int B)
operatorbool == (vector A, vector B)
operatorbool > (float A, float B)
operatorbool > (int A, int B)
operatorbool > (string A, string B)
operatorbool >= (float A, float B)
operatorbool >= (int A, int B)
operatorbool >= (string A, string B)
operatorvector >> (vector A, rotator B)
operatorint >> (int A, int B)
operatorint >>> (int A, int B)
operatorstring @ (coerce string A, coerce string B)
functionfloat Abs (float A)
functionfloat Acos (float A)
functionQuat AlignQuatWith (Quat A, Quat B)
function AllFiles (string FileExtension, string FilePrefix, out string FileName)
function AllLinkers (out name PackageName, out string FileName, out string GUID, out int NmCount, out int ImpCount, out int ExpCount, out int FileSize)
function AllObjects (class<Object> BaseClass, out Object Obj)
function AppSeconds (Out Float OutTime)
functionint Asc (string S)
functionfloat Atan (float A)
event BeginState ()
functionstring Caps (coerce string S)
functionint Ceil (float f)
functionstring Chr (int i)
functionint Clamp (int V, int A, int B)
functionbool ClassIsChildOf (class TestClass, class ParentClass)
functionfloat Cos (float A)
operatorvector Cross (vector A, vector B)
function Disable (name ProbeFunc)
functionbool Divide (coerce string Src, string Divider, out string LeftPart, out string RightPart)
operatorfloat Dot (vector A, vector B)
operatorfloat Dot (Quat A, Quat B)
functionobject DynamicLoadObject (string ObjectName, class ObjectClass, optional bool MayFail)
function Enable (name ProbeFunc)
event EndState ()
functionfloat Exp (float A)
functionbool ExtractString (string Src, string LeftDivider, string RightDivider, out string MidString, optional bool bAdvanced)
functionfloat FClamp (float V, float A, float B)
functionObject FindObject (Class<Object> ObjClass, string ObjectName)
functionfloat FMax (float A, float B)
functionfloat FMin (float A, float B)
functionfloat FRand ()
functionint GetArraySize (ArrayProperty ArProp)
function GetAxes (rotator A, out vector X, out vector Y, out vector Z)
functionObject GetDefaultObject (Class<Object> ObjClass)
functionname GetEnum (object E, int i)
functionClass<ObjectGetParentClass (Class<Object> ObjClass)
functionstring GetPropertyText (string PropName)
functionname GetStateName ()
function GetUnAxes (rotator A, out vector X, out vector Y, out vector Z)
functionCoords GetUnitCoords ()
function GotoState (optional name NewState, optional name Label)
functionbool InsertArrayIdx (ArrayProperty ArProp, int Offset, optional int Count)
functionint InStr (coerce string S, coerce string t, optional int Start)
function Invert (out vector X, out vector Y, out vector Z)
functionbool IsA (name ClassName)
functionbool IsInState (name TestState)
functionstring Left (coerce string S, int i)
functionint Len (coerce string S)
functionfloat Lerp (float Alpha, float A, float B)
functionbool LoadPackageContents (string PackageName, Class<Object> ListType, out array<Object> PckContents)
functionstring Localize (string SectionName, string KeyName, string PackageName)
function Log (coerce string S, optional name Tag)
functionfloat Loge (float A)
functionint Max (int A, int B)
functionstring Mid (coerce string S, int i, optional int j)
functionint Min (int A, int B)
functionvector MirrorVectorByNormal (vector Vect, vector Normal)
functionvector Normal (vector A)
functionrotator Normalize (rotator Rot)
functionrotator OrthoRotation (vector X, vector Y, vector Z)
functionQuat Quad (float w, float x, float y, float z)
functionfloat QuatError (Quat A, Quat B)
functionQuat QuatFromAxisAndAngle (Vector Axis, float Angle)
functionfloat QuatGetAngle (Quat A)
functionvector QuatGetAxis (Quat A)
functionvector QuatGetVect (Quat A)
functionQuat QuatNormal (Quat A)
functionQuat QuatRotate (Quat A, Quat B)
functionfloat QuatSize (Quat A)
functionfloat QuatSizeSquared (Quat A)
functionQuat QuatSlerp (Quat A, Quat B, float C)
functionrotator QuatToRotation (Quat Q)
functionVector QuatVRotate (Quat A, Vector B)
functionint Rand (int Max)
functionfloat RandRange (float Min, float Max)
functionbool RemoveArrayIdx (ArrayProperty ArProp, int Offset, optional int Count)
function ResetConfig ()
functionstring Right (coerce string S, int i)
functionQuat RotationToQuat (rotator R, bool bHighPrecision)
functionrotator RotRand (optional bool bRoll)
function SaveConfig ()
function SetPropertyText (string PropName, string PropValue)
functionfloat Sin (float A)
functionfloat Smerp (float Alpha, float A, float B)
functionfloat Sqrt (float A)
functionfloat Square (float A)
function StaticSaveConfig ()
functionfloat Tan (float A)
function TransformCoordsByNormal (out Coords C, vector FloorNormal)
function TransformRotatorByNormal (out rotator R, vector FloorNormal)
functionvector VRand ()
functionfloat VSize (vector A)
function Warn (coerce string S)
operatorint ^ (int A, int B)
operatorbool ^^ (bool A, bool B)
operatorint | (int A, int B)
operatorbool || (bool A, skip bool B)
preoperatorint ~ (int A)
preoperatorQuat ~ (out Quat A)
operatorbool ~= (float A, float B)
operatorbool ~= (string A, string B)


Constants Detail

MaxInt Source code

const MaxInt = 0x7fffffff;
The maximum positive int value

Pi Source code

const Pi = 3.1415926535897932;

RF_NotForClient Source code

const RF_NotForClient = 0x00100000;
ObjectFlag
Don't load for game client.

RF_NotForEdit Source code

const RF_NotForEdit = 0x00400000;
ObjectFlag
Don't load for editor.

RF_NotForServer Source code

const RF_NotForServer = 0x00200000;
ObjectFlag
Don't load for game server.

RF_Public Source code

const RF_Public = 0x00000004;
Object Flag
Can be referenced by external package files

RF_Transactional Source code

const RF_Transactional = 0x00000001;
Object flag
Supports editor undo/redo

RF_Transient Source code

const RF_Transient = 0x00004000;
ObjectFlag
Can't be saved or loaded.


Variables Detail

ObjectFlags Source code

var native const int ObjectFlags;

ObjectInternal[6] Source code

var native private const int ObjectInternal[6];
Internal variable

Outer Source code

var native const object Outer;

Object

Class Source code

var(Object) native const editconst class Class;
The class of this object.

Name Source code

var(Object) native const editconst name Name;
The name of this object. The string representation of this value is the same like the last part of the object's string representation.


Enumerations Detail

ESheerAxis Source code

enum ESheerAxis
{
SHEER_None, SHEER_XY, SHEER_XZ, SHEER_YX, SHEER_YZ, SHEER_ZX, SHEER_ZY,
};


Structures Detail

BoundingBox Source code

struct BoundingBox
{
var byte IsValid;
var vector Max;
var vector Min;
};


BoundingVolume Source code

struct BoundingVolume extends boundingbox
{
var plane Sphere;
};
A bounding box sphere together.

Color Source code

struct Color
{
var(Object) config byte A;
var(Object) config byte B;
var(Object) config byte G;
var(Object) config byte R;
};
An RGBA color

Coords Source code

struct Coords
{
var(Object) config vector Origin;
var(Object) config vector XAxis;
var(Object) config vector YAxis;
var(Object) config vector ZAxis;
};
An arbitrary coordinate system in 3d space.

Guid Source code

struct Guid
{
var int A;
var int B;
var int C;
var int D;
};
A globally unique identifier.

Plane Source code

struct Plane extends Vector
{
var(Object) config float W;
};
A plane definition in 3d space.

Quat Source code

struct Quat
{
var(Object) config float W;
var(Object) config float X;
var(Object) config float Y;
var(Object) config float Z;
};
A quaternion. Quaternions are a mathematical construct that represents a rotation in three dimensions. It is not as intuitive as the Euler angles that are used for most of the rotation within Unrealscript. A rotator, is a rotation using Euler angles and is the "standard" type of rotation within Unrealscript.

Rotator Source code

struct Rotator
{
var(Object) config int Pitch;
var(Object) config int Roll;
var(Object) config int Yaw;
};
An orthogonal rotation in 3d space.

Scale Source code

struct Scale
{
var(Object) config vector Scale;
var(Object) ESheerAxis SheerAxis;
var(Object) config float SheerRate;
};
A scale and sheering.

Vector Source code

struct Vector
{
var(Object) config float X;
var(Object) config float Y;
var(Object) config float Z;
};
A point or direction vector in 3d space.


Functions Detail

! Source code

native(129) static final preoperator bool ! ( bool A )

!= Source code

native(203) static final operator bool != ( rotator A, rotator B )

!= Source code

native(155) static final operator bool != ( int A, int B )

!= Source code

native(218) static final operator bool != ( vector A, vector B )

!= Source code

native(255) static final operator bool != ( name A, name B )

!= Source code

native(181) static final operator bool != ( float A, float B )

!= Source code

native(119) static final operator bool != ( Object A, Object B )

!= Source code

native(123) static final operator bool != ( string A, string B )

!= Source code

native(243) static final operator bool != ( bool A, bool B )

!= Source code

native(621) final operator bool != ( Quat A, Quat B )

$ Source code

native(112) static final operator string $ ( coerce string A, coerce string B )

% Source code

native(173) static final operator float % ( float A, float B )

& Source code

native(156) static final operator int & ( int A, int B )

& Source code

native(607) final operator rotator & ( rotator R1, rotator R2 )

&& Source code

native(130) static final operator bool && ( bool A, skip bool B )

* Source code

native(610) final operator Quat * ( Quat A, float B )

* Source code

native(608) final operator Quat * ( Quat A, Vector B )

* Source code

native(609) final operator Quat * ( Vector B, Quat A )

* Source code

native(330) static final operator Coords * ( Coords A, Coords B )

* Source code

native(288) static final operator rotator * ( float A, rotator B )

* Source code

native(171) static final operator float * ( float A, float B )

* Source code

native(611) final operator Quat * ( float B, Quat A )

* Source code

native(212) static final operator vector * ( vector A, float B )

* Source code

native(144) static final operator int * ( int A, int B )

* Source code

native(296) static final operator vector * ( vector A, vector B )

* Source code

native(213) static final operator vector * ( float A, vector B )

* Source code

native(287) static final operator rotator * ( rotator A, float B )

* Source code

native(612) final operator Quat * ( Quat Q1, Quat Q2 )

** Source code

native(170) static final operator float ** ( float A, float B )

*= Source code

native(290) static final operator rotator *= ( out rotator A, float B )

*= Source code

native(331) static final operator Coords *= ( out Coords A, Coords B )

*= Source code

native(133) static final operator byte *= ( out byte A, byte B )

*= Source code

native(617) final operator Quat *= ( out Quat A, float B )

*= Source code

native(221) static final operator vector *= ( out vector A, float B )

*= Source code

native(334) static final operator Coords *= ( out vector A, Coords B )

*= Source code

native(182) static final operator float *= ( out float A, float B )

*= Source code

native(297) static final operator vector *= ( out vector A, vector B )

*= Source code

native(332) static final operator Coords *= ( out Coords A, rotator B )

*= Source code

native(159) static final operator int *= ( out int A, float B )

+ Source code

native(146) static final operator int + ( int A, int B )

+ Source code

native(613) final operator Quat + ( Quat A, Quat B )

+ Source code

native(174) static final operator float + ( float A, float B )

+ Source code

native(316) static final operator rotator + ( rotator A, rotator B )

+ Source code

native(215) static final operator vector + ( vector A, vector B )

++ Source code

native(137) static final preoperator byte ++ ( out byte A )

++ Source code

native(165) static final postoperator int ++ ( out int A )

++ Source code

native(163) static final preoperator int ++ ( out int A )

++ Source code

native(139) static final postoperator byte ++ ( out byte A )

+= Source code

native(161) static final operator int += ( out int A, int B )

+= Source code

native(223) static final operator vector += ( out vector A, vector B )

+= Source code

native(184) static final operator float += ( out float A, float B )

+= Source code

native(615) final operator Quat += ( out Quat A, Quat B )

+= Source code

native(318) static final operator rotator += ( out rotator A, rotator B )

+= Source code

native(135) static final operator byte += ( out byte A, byte B )

- Source code

native(614) final operator Quat - ( Quat A, Quat B )

- Source code

native(216) static final operator vector - ( vector A, vector B )

- Source code

native(211) static final preoperator vector - ( vector A )

- Source code

native(143) static final preoperator int - ( int A )

- Source code

native(317) static final operator rotator - ( rotator A, rotator B )

- Source code

native(175) static final operator float - ( float A, float B )

- Source code

native(147) static final operator int - ( int A, int B )

- Source code

native(169) static final preoperator float - ( float A )

-- Source code

native(138) static final preoperator byte -- ( out byte A )

-- Source code

native(166) static final postoperator int -- ( out int A )

-- Source code

native(164) static final preoperator int -- ( out int A )

-- Source code

native(140) static final postoperator byte -- ( out byte A )

-= Source code

native(616) final operator Quat -= ( out Quat A, Quat B )

-= Source code

native(319) static final operator rotator -= ( out rotator A, rotator B )

-= Source code

native(136) static final operator byte -= ( out byte A, byte B )

-= Source code

native(162) static final operator int -= ( out int A, int B )

-= Source code

native(224) static final operator vector -= ( out vector A, vector B )

-= Source code

native(185) static final operator float -= ( out float A, float B )

/ Source code

native(214) static final operator vector / ( vector A, float B )

/ Source code

native(289) static final operator rotator / ( rotator A, float B )

/ Source code

native(172) static final operator float / ( float A, float B )

/ Source code

native(145) static final operator int / ( int A, int B )

/= Source code

native(160) static final operator int /= ( out int A, float B )

/= Source code

native(333) static final operator Coords /= ( out Coords A, rotator B )

/= Source code

native(183) static final operator float /= ( out float A, float B )

/= Source code

native(222) static final operator vector /= ( out vector A, float B )

/= Source code

native(291) static final operator rotator /= ( out rotator A, float B )

/= Source code

native(134) static final operator byte /= ( out byte A, byte B )

/= Source code

native(618) final operator Quat /= ( out Quat A, float B )

< Source code

native(150) static final operator bool < ( int A, int B )

< Source code

native(115) static final operator bool < ( string A, string B )

< Source code

native(176) static final operator bool < ( float A, float B )

<< Source code

native(148) static final operator int << ( int A, int B )

<< Source code

native(275) static final operator vector << ( vector A, rotator B )

<= Source code

native(178) static final operator bool <= ( float A, float B )

<= Source code

native(120) static final operator bool <= ( string A, string B )

<= Source code

native(152) static final operator bool <= ( int A, int B )

== Source code

native(180) static final operator bool == ( float A, float B )

== Source code

native(142) static final operator bool == ( rotator A, rotator B )

== Source code

native(242) static final operator bool == ( bool A, bool B )

== Source code

native(620) final operator bool == ( Quat A, Quat B )

== Source code

native(114) static final operator bool == ( Object A, Object B )

== Source code

native(122) static final operator bool == ( string A, string B )

== Source code

native(254) static final operator bool == ( name A, name B )

== Source code

native(154) static final operator bool == ( int A, int B )

== Source code

native(217) static final operator bool == ( vector A, vector B )

> Source code

native(177) static final operator bool > ( float A, float B )

> Source code

native(151) static final operator bool > ( int A, int B )

> Source code

native(116) static final operator bool > ( string A, string B )

>= Source code

native(179) static final operator bool >= ( float A, float B )

>= Source code

native(153) static final operator bool >= ( int A, int B )

>= Source code

native(121) static final operator bool >= ( string A, string B )

>> Source code

native(276) static final operator vector >> ( vector A, rotator B )

>> Source code

native(149) static final operator int >> ( int A, int B )

>>> Source code

native(196) static final operator int >>> ( int A, int B )

@ Source code

native(168) static final operator string @ ( coerce string A, coerce string B )

Abs Source code

native(186) static final function float Abs ( float A )
Returns the absolute value (also known as the modulo) of A, usually written |A|. Eg: Abs(5)== Abs(-5) == 5.

Acos Source code

native(197) static final function float Acos ( float A )
Inverse cosine.

AlignQuatWith Source code

native(634) final function Quat AlignQuatWith ( Quat A, Quat B )

AllFiles Source code

native(603) final iterator function AllFiles ( string FileExtension, string FilePrefix, out string FileName )

AllLinkers Source code

native(636) static final iterator function AllLinkers ( out name PackageName, out string FileName, out string GUID, out int NmCount, out int ImpCount, out int ExpCount, out int FileSize )

AllObjects Source code

native(602) final iterator function AllObjects ( class<Object> BaseClass, out Object Obj )

AppSeconds Source code

Native(643) Final function AppSeconds ( Out Float OutTime )

Asc Source code

native(237) static final function int Asc ( string S )
Returns the ASCII code of the first character in S.

Atan Source code

native(190) static final function float Atan ( float A )

BeginState Source code

event BeginState ( )
Called immediately when entering a state, while within the GotoState call that caused the state change.

Caps Source code

native(235) static final function string Caps ( coerce string S )
Returns S converted to uppercase.

Ceil Source code

native(635) static final function int Ceil ( float f )
Returns A rounded off to the next higher whole number, e.g. Ceil(1.8) returns 2, Ceil(-1.8) returns -1, etc. Ceil will always round up while typecasting float to int rounds up for negative numbers and down for positive numbers, i.e. int casts simply discard everything after the decimal point.

Chr Source code

native(236) static final function string Chr ( int i )
Returns the character matchin the given ASCII code.

Clamp Source code

native(251) static final function int Clamp ( int V, int A, int B )
If V is smaller than A, A is returned. If V is larger than B, B is returned. In any other case V is returned.

ClassIsChildOf Source code

native(258) static final function bool ClassIsChildOf ( class TestClass, class ParentClass )
Returns whether TestClass is a subclass of Parentclass. If the two classes are the same it returns true.

Cos Source code

native(188) static final function float Cos ( float A )
Returns cosine( A )

Cross Source code

native(220) static final operator vector Cross ( vector A, vector B )

Disable Source code

native(118) final function Disable ( name ProbeFunc )
Disables a probe function.

Divide Source code

native(638) static final function bool Divide ( coerce string Src, string Divider, out string LeftPart, out string RightPart )
Divides a string and returns the two parts.

Dot Source code

native(219) static final operator float Dot ( vector A, vector B )

Dot Source code

native(622) final operator float Dot ( Quat A, Quat B )

DynamicLoadObject Source code

native static final function object DynamicLoadObject ( string ObjectName, class ObjectClass, optional bool MayFail )
Returns a reference to a specified object, loading it if necessary.

Enable Source code

native(117) final function Enable ( name ProbeFunc )
Enables a probe function.

EndState Source code

event EndState ( )
Called immediately before going out of the current state, while within the GotoState call that caused the state change.

Exp Source code

native(191) static final function float Exp ( float A )

ExtractString Source code

native(639) static final function bool ExtractString ( string Src, string LeftDivider, string RightDivider, out string MidString, optional bool bAdvanced )

FClamp Source code

native(246) static final function float FClamp ( float V, float A, float B )
If V is smaller than A, A is returned. If V is larger than B, B is returned. In any other case V is returned.

FindObject Source code

native(600) final function Object FindObject ( Class<Object> ObjClass, string ObjectName )

FMax Source code

native(245) static final function float FMax ( float A, float B )
Returns the higher of the two values.

FMin Source code

native(244) static final function float FMin ( float A, float B )
Returns the lower of the two values.

FRand Source code

native(195) static final function float FRand ( )
Returns a random number between 0 and 1.

GetArraySize Source code

native(640) static final function int GetArraySize ( ArrayProperty ArProp )

GetAxes Source code

native(229) static final function GetAxes ( rotator A, out vector X, out vector Y, out vector Z )

GetDefaultObject Source code

native(637) static final function Object GetDefaultObject ( Class<Object> ObjClass )

GetEnum Source code

native static final function name GetEnum ( object E, int i )
Returns the i-th element of the given enumeration, as in GetEnum(enum'MyEnum', 2) or an empty name of the specified index exceeds the number of elements in the enumeration.

GetParentClass Source code

native(601) final function Class<Object> GetParentClass ( Class<Object> ObjClass )

GetPropertyText Source code

native final function string GetPropertyText ( string PropName )
Returns the value of the specified property typecasted to string. It is not possible to access default properties in this manner. This is useful when you don't want any dependencies to the package of an object, but still need to access its public (i.e. neither private nor protected) properties.
Usage: aString=anObject.GetPropertyText("PropertyName");

GetStateName Source code

native(284) final function name GetStateName ( )
Returns the object's current state name.

GetUnAxes Source code

native(230) static final function GetUnAxes ( rotator A, out vector X, out vector Y, out vector Z )

GetUnitCoords Source code

native(335) static final function Coords GetUnitCoords ( )

GotoState Source code

native(113) final function GotoState ( optional name NewState, optional name Label )
Switches to a new state. State code execution begins at the specified label or at "Begin:" if Label is not specified.
Before the state is changed the old state's EndState function is called. After the state changed BeginState of the new state is called.

InsertArrayIdx Source code

native(641) static final function bool InsertArrayIdx ( ArrayProperty ArProp, int Offset, optional int Count )

InStr Source code

native(126) static final function int InStr ( coerce string S, coerce string t, optional int Start )
If the string t is found inside S InStr returns the starting position with the first character of S being 0. If t is not found InStr returns -1.

Invert Source code

native(227) static final function Invert ( out vector X, out vector Y, out vector Z )

IsA Source code

native(303) final function bool IsA ( name ClassName )
Returns whether the object's class is the specified class or a subclass. This function doesn't need a reference to the desired class, but just the class's name.

IsInState Source code

native(281) final function bool IsInState ( name TestState )
Returns whether the object's current state is the one specified.

Left Source code

native(128) static final function string Left ( coerce string S, int i )
Returns the i leftmost characters of S.

Len Source code

native(125) static final function int Len ( coerce string S )
Returns the length of a string.

Lerp Source code

native(247) static final function float Lerp ( float Alpha, float A, float B )
Returns the linear interpolation between A and B.
The return value is calculated through something like this: (B - A) * Alpha + A

LoadPackageContents Source code

native(257) static final function bool LoadPackageContents ( string PackageName, Class<Object> ListType, out array<Object> PckContents )

Localize Source code

native static function string Localize ( string SectionName, string KeyName, string PackageName )
Returns the string found in PackageName.int in the [SectionName] section. Logs an error if no localization for the specified string is found.

Log Source code

native(231) final static function Log ( coerce string S, optional name Tag )
Writes a line to the log file. The line begins with the Tag or "ScriptLog:" if Tag was not specified, followed by the log string.
The tags 'Error' and 'Warning' (and probably others, too) have a special meaning in Commandlets.

Loge Source code

native(192) static final function float Loge ( float A )
Returns log(A), the natural logarithm

Max Source code

native(250) static final function int Max ( int A, int B )
Returns the higher of the two values.

Mid Source code

native(127) static final function string Mid ( coerce string S, int i, optional int j )
Returns the middle part of S, starting at character i and including j characters (or all of them if j is not specified). Note: the 1st char has the number 0, this is diffrent then in visual basic, where the 1st char is 1.

Min Source code

native(249) static final function int Min ( int A, int B )
Returns the lower of the two values.

MirrorVectorByNormal Source code

native(300) static final function vector MirrorVectorByNormal ( vector Vect, vector Normal )

Normal Source code

native(226) static final function vector Normal ( vector A )

Normalize Source code

native static final function rotator Normalize ( rotator Rot )

OrthoRotation Source code

native static final function rotator OrthoRotation ( vector X, vector Y, vector Z )

Quad Source code

native(606) final function Quat Quad ( float w, float x, float y, float z )

QuatError Source code

native(633) final function float QuatError ( Quat A, Quat B )

QuatFromAxisAndAngle Source code

native(632) final function Quat QuatFromAxisAndAngle ( Vector Axis, float Angle )

QuatGetAngle Source code

native(627) final function float QuatGetAngle ( Quat A )

QuatGetAxis Source code

native(628) final function vector QuatGetAxis ( Quat A )

QuatGetVect Source code

native(623) final function vector QuatGetVect ( Quat A )

QuatNormal Source code

native(626) final function Quat QuatNormal ( Quat A )

QuatRotate Source code

native(629) final function Quat QuatRotate ( Quat A, Quat B )

QuatSize Source code

native(625) final function float QuatSize ( Quat A )

QuatSizeSquared Source code

native(624) final function float QuatSizeSquared ( Quat A )

QuatSlerp Source code

native(631) final function Quat QuatSlerp ( Quat A, Quat B, float C )

QuatToRotation Source code

native(605) final function rotator QuatToRotation ( Quat Q )

QuatVRotate Source code

native(630) final function Vector QuatVRotate ( Quat A, Vector B )

Rand Source code

native(167) static final function int Rand ( int Max )
Returns a random number ranging from 0 to Max-1.

RandRange Source code

static final function float RandRange ( float Min, float Max )
Return a random number within the given range.

RemoveArrayIdx Source code

native(642) static final function bool RemoveArrayIdx ( ArrayProperty ArProp, int Offset, optional int Count )

ResetConfig Source code

native static final function ResetConfig ( )
Resets the config and globalconfig variables of this object's class to the values stored in Default.ini or DefUser.ini.

Right Source code

native(234) static final function string Right ( coerce string S, int i )
Returns the i rightmost characters of S.

RotationToQuat Source code

native(604) final function Quat RotationToQuat ( rotator R, bool bHighPrecision )

RotRand Source code

native(320) static final function rotator RotRand ( optional bool bRoll )

SaveConfig Source code

native(536) final function SaveConfig ( )
Saves the current values of config and globalconfig variables of this object to the ini file and sets them as default values for the object's class.

SetPropertyText Source code

native final function SetPropertyText ( string PropName, string PropValue )
Assigns a value to the specified public non-constant property of an object. Only use this for properties that can be typecasted from string.
Usage: anObject.SetPropertyString("PropertyName", "new value");

Sin Source code

native(187) static final function float Sin ( float A )
Returns sine( A )

Smerp Source code

native(248) static final function float Smerp ( float Alpha, float A, float B )
Returns an Alpha-smooth nonlinear interpolation between A and B.
The return value seems to be calculated through something like this: (-2 * (B - A) * Alpha ** 3) + (3 * (B - A) * Alpha ** 2) + A

Sqrt Source code

native(193) static final function float Sqrt ( float A )
Returns the square root of A.

Square Source code

native(194) static final function float Square ( float A )

StaticSaveConfig Source code

native static final function StaticSaveConfig ( )
Saves the default values of config and globalconfig variables of this object's class to the ini file.

Tan Source code

native(189) static final function float Tan ( float A )
Returns tan( A )

TransformCoordsByNormal Source code

static native(337) final function TransformCoordsByNormal ( out Coords C, vector FloorNormal )

TransformRotatorByNormal Source code

static native(336) final function TransformRotatorByNormal ( out rotator R, vector FloorNormal )

VRand Source code

native(252) static final function vector VRand ( )

VSize Source code

native(225) static final function float VSize ( vector A )

Warn Source code

native(232) final static function Warn ( coerce string S )
Same like Log, but the line starts with "ScriptWarning:" and contains information about the object, state and function that called Warn.

^ Source code

native(157) static final operator int ^ ( int A, int B )

^^ Source code

native(131) static final operator bool ^^ ( bool A, bool B )

| Source code

native(158) static final operator int | ( int A, int B )

|| Source code

native(132) static final operator bool || ( bool A, skip bool B )

~ Source code

native(141) static final preoperator int ~ ( int A )

~ Source code

native(619) final preoperator Quat ~ ( out Quat A )

~= Source code

native(210) static final operator bool ~= ( float A, float B )

~= Source code

native(124) static final operator bool ~= ( string A, string B )


Defaultproperties

defaultproperties
{
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: vr 22-5-2009 02:19:02.553 - Created with UnCodeX