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

Core.Object

Modifiers
intrinsic

Core.Object

Direct Known Subclasses:

Actor, Bitmap, Canvas, Console, Palette, Player, Subsystem

Constants Summary
MaxInt=0x7fffffff
Pi=3.1415926535897932

Variables Summary
intObjectFlags
intObjectInternal[6]
objectParent
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
DynamicArray
Num, Max, Ptr
DynamicString
Guid
A, B, C, D
Plane
W
Rotator
Pitch, Yaw, Roll
Scale
Scale, SheerRate, SheerAxis
Vector
X, Y, Z

Functions Summary
preoperatorbool ! (bool A)
operatorbool != (float A, float B)
operatorbool != (int A, int B)
operatorbool != (string[255] A, string[255] B)
operatorbool != (name A, name B)
operatorbool != (Object A, Object B)
operatorbool != (bool A, bool B)
operatorfloat % (float A, float B)
operatorint & (int A, int B)
operatorbool && (bool A, skip bool B)
operatorfloat * (float A, float B)
operatorint * (int A, int B)
operatorfloat ** (float A, float B)
operatorfloat *= (out float A, float B)
operatorbyte *= (out byte A, byte B)
operatorint *= (out int A, float B)
operatorint + (int A, int B)
operatorfloat + (float A, float B)
preoperatorint ++ (out int A)
postoperatorint ++ (out int A)
postoperatorbyte ++ (out byte A)
preoperatorbyte ++ (out byte A)
operatorfloat += (out float A, float B)
operatorint += (out int A, int B)
operatorbyte += (out byte A, byte B)
preoperatorint - (int A)
operatorfloat - (float A, float B)
operatorint - (int A, int B)
preoperatorfloat - (float A)
postoperatorint -- (out int A)
preoperatorint -- (out int A)
postoperatorbyte -- (out byte A)
preoperatorbyte -- (out byte A)
operatorbyte -= (out byte A, byte B)
operatorint -= (out int A, int B)
operatorfloat -= (out float A, float B)
operatorfloat / (float A, float B)
operatorint / (int A, int B)
operatorbyte /= (out byte A, byte B)
operatorfloat /= (out float A, float B)
operatorint /= (out int A, float B)
operatorbool < (string[255] A, string[255] B)
operatorbool < (float A, float B)
operatorbool < (int A, int B)
operatorint << (int A, int B)
operatorbool <= (string[255] A, string[255] B)
operatorbool <= (float A, float B)
operatorbool <= (int A, int B)
operatorbool == (int A, int B)
operatorbool == (string[255] A, string[255] B)
operatorbool == (float A, float B)
operatorbool == (Object A, Object B)
operatorbool == (name A, name B)
operatorbool == (bool A, bool B)
operatorbool > (int A, int B)
operatorbool > (string[255] A, string[255] B)
operatorbool > (float A, float B)
operatorbool >= (string[255] A, string[255] B)
operatorbool >= (int A, int B)
operatorbool >= (float A, float B)
operatorint >> (int A, int B)
functionfloat Abs (float A)
functionint Asc (string[255] S)
functionfloat Atan (float A)
event BeginState ()
functionint Clamp (int V, int A, int B)
functionbool ClassIsChildOf (class TestClass, class ParentClass)
functionfloat Cos (float A)
function Disable (name ProbeFunc)
functionobject DynamicLoadObject (string[32] ObjectName, class ObjectClass)
function Enable (name ProbeFunc)
event EndState ()
functionfloat Exp (float A)
functionfloat FClamp (float V, float A, float B)
functionfloat FMax (float A, float B)
functionfloat FMin (float A, float B)
functionfloat FRand ()
functionname GetEnum (object E, int i)
functionname GetStateName ()
function GotoState (optional name NewState, optional name Label)
functionint InStr (coerce string[255] S, coerce string[255] t)
functionbool IsInState (name TestState)
functionint Len (coerce string[255] S)
functionfloat Lerp (float Alpha, float A, float B)
function Log (coerce string[240] S, optional name Tag)
functionfloat Loge (float A)
functionint Max (int A, int B)
functionint Min (int A, int B)
functionint Rand (int Max)
function ResetConfig ()
function SaveConfig ()
function SetPropertyText (string[32] PropName, string[192] PropValue)
functionfloat Sin (float A)
functionfloat Smerp (float Alpha, float A, float B)
functionfloat Sqrt (float A)
functionfloat Square (float A)
functionfloat Tan (float A)
function Warn (coerce string[240] S)
functionstring [ (] Caps ( coerce string[255] S)
operatorstring [ (] $ ( coerce string[255] A, coerce String[255] B)
functionstring [ (] GetPropertyText( string[32] PropName)
functionstring [ (] Chr ( int i)
functionstring [ (] Localize( name SectionName, name KeyName, name PackageName)
functionstring [ (] Right ( coerce string[255] S, int i)
functionstring [ (] Left ( coerce string[255] S, int i)
functionstring [ (] Mid ( coerce string[255] S, int i, optional int j)
operatorint ^ (int A, int B)
operatorbool ^^ (bool A, bool B)
operatorint | (int A, int B)
operatorbool || (bool A, skip bool B)
preoperatorint ~ (int A)
operatorbool ~= (string[255] A, string[255] B)
operatorbool ~= (float A, float B)


Constants Detail

MaxInt Source code

const MaxInt = 0x7fffffff;
The maximum positive int value

Pi Source code

const Pi = 3.1415926535897932;


Variables Detail

ObjectFlags Source code

var intrinsic const int ObjectFlags;

ObjectInternal[6] Source code

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

Parent Source code

var intrinsic const object Parent;

Object

Class Source code

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

Name Source code

var(Object) intrinsic 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.

DynamicArray Source code

struct DynamicArray
{
var const int Max;
var const int Num;
var const int Ptr;
};


DynamicString Source code

struct DynamicString
{
};


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.

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

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

!= Source code

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

!= Source code

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

!= Source code

intrinsic(202) static final operator bool != ( string[255] A, string[255] B )

!= Source code

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

!= Source code

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

!= Source code

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

% Source code

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

& Source code

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

&& Source code

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

* Source code

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

* Source code

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

** Source code

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

*= Source code

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

*= Source code

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

*= Source code

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

+ Source code

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

+ Source code

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

++ Source code

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

++ Source code

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

++ Source code

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

++ Source code

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

+= Source code

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

+= Source code

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

+= Source code

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

- Source code

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

- Source code

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

- Source code

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

- Source code

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

-- Source code

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

-- Source code

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

-- Source code

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

-- Source code

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

-= Source code

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

-= Source code

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

-= Source code

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

/ Source code

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

/ Source code

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

/= Source code

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

/= Source code

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

/= Source code

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

< Source code

intrinsic(197) static final operator bool < ( string[255] A, string[255] B )

< Source code

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

< Source code

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

<< Source code

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

<= Source code

intrinsic(199) static final operator bool <= ( string[255] A, string[255] B )

<= Source code

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

<= Source code

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

== Source code

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

== Source code

intrinsic(201) static final operator bool == ( string[255] A, string[255] B )

== Source code

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

== Source code

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

== Source code

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

== Source code

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

> Source code

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

> Source code

intrinsic(198) static final operator bool > ( string[255] A, string[255] B )

> Source code

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

>= Source code

intrinsic(200) static final operator bool >= ( string[255] A, string[255] B )

>= Source code

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

>= Source code

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

>> Source code

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

Abs Source code

intrinsic(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.

Asc Source code

intrinsic static final function int Asc ( string[255] S )
Returns the ASCII code of the first character in S.

Atan Source code

intrinsic(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.

Clamp Source code

intrinsic(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

intrinsic(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

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

Disable Source code

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

DynamicLoadObject Source code

intrinsic static final function object DynamicLoadObject ( string[32] ObjectName, class ObjectClass )
Returns a reference to a specified object, loading it if necessary.

Enable Source code

intrinsic(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

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

FClamp Source code

intrinsic(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.

FMax Source code

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

FMin Source code

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

FRand Source code

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

GetEnum Source code

intrinsic 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.

GetStateName Source code

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

GotoState Source code

intrinsic(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.

InStr Source code

intrinsic(205) static final function int InStr ( coerce string[255] S, coerce string[255] t )
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.

IsInState Source code

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

Len Source code

intrinsic(204) static final function int Len ( coerce string[255] S )
Returns the length of a string.

Lerp Source code

intrinsic(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

Log Source code

intrinsic(231) final static function Log ( coerce string[240] 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

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

Max Source code

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

Min Source code

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

Rand Source code

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

ResetConfig Source code

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

SaveConfig Source code

intrinsic(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

intrinsic final function SetPropertyText ( string[32] PropName, string[192] 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

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

Smerp Source code

intrinsic(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

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

Square Source code

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

Tan Source code

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

Warn Source code

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

[ Source code

intrinsic(209) static final function string [ ( ] Caps ( coerce string[255] S )

[ Source code

intrinsic(228) static final operator string [ ( ] $ ( coerce string[255] A, coerce String[255] B )

[ Source code

intrinsic final function string [ ( ] GetPropertyText( string[32] PropName )

[ Source code

intrinsic static final function string [ ( ] Chr ( int i )

[ Source code

intrinsic static function string [ ( ] Localize( name SectionName, name KeyName, name PackageName )

[ Source code

intrinsic(208) static final function string [ ( ] Right ( coerce string[255] S, int i )

[ Source code

intrinsic(207) static final function string [ ( ] Left ( coerce string[255] S, int i )

[ Source code

intrinsic(206) static final function string [ ( ] Mid ( coerce string[255] S, int i, optional int j )

^ Source code

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

^^ Source code

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

| Source code

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

|| Source code

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

~ Source code

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

~= Source code

intrinsic(168) static final operator bool ~= ( string[255] A, string[255] B )

~= Source code

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



Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: za 22-4-2006 12:53:41.171 - Created with UnCodeX