Class OBJECT
- Namespace
- abstractions
- Assembly
- PIKLib.dll
OBJECT
- Inheritance
-
OBJECT
- Derived
- Inherited Members
Properties
DESCRIPTION
A short description of the object.
string? DESCRIPTION
Property Value
TYPE
The type of the object.
string TYPE
Property Value
Methods
ADDBEHAVIOUR(string, string)
Adds/overwrites a handler for the given signal.
void ADDBEHAVIOUR(string signal_name, string code)
Parameters
signal_name
stringThe (parametrized) name of the signal.
code
stringA handler (code block or a BEHAVIOUR name).
CLONE(int)
Sets the clone count for the object. If it is greater than current clone count, new clones are created.
void CLONE(int count = 1)
Parameters
count
intDesired clone count.
GETCLONEINDEX()
Returns the clone index of the object.
int GETCLONEINDEX()
Returns
- int
0 if the object is the original, unique sequential 1-based index otherwise.
GETNAME()
Retrieves the name of the object.
string GETNAME()
Returns
- string
The object name.
MSGBOX(string)
Displays a message box with the given contents.
void MSGBOX(string message)
Parameters
message
stringA message to be displayed.
Remarks
Does nothing in the release build of the original engine.
REMOVEBEHAVIOUR(string)
Removes the handler for the given signal (if it exists).
void REMOVEBEHAVIOUR(string signal_name)
Parameters
signal_name
stringThe (parametrized) name of the signal.
RESETCLONES()
Resets the clone count.
void RESETCLONES()