Mask Identifier | Number | Mask Bit Position |
---|---|---|
DefaultObjectType | 0 | 0 |
StaticObjectType | 1 | 1 |
EnvironmentObjectType | 2 | 2 |
TerrainObjectType | 4 | 3 |
InteriorObjectType | 8 | 4 |
WaterObjectType | 16 | 5 |
TriggerObjectType | 32 | 6 |
MarkerObjectType | 64 | 7 |
unassigned | 128 | 8 |
unassigned | 256 | 9 |
DecalManagerObjectType | 512 | 10 |
GameBaseObjectType | 1024 | 11 |
ShapeBaseObjectType | 2048 | 12 |
CameraObjectType | 4096 | 13 |
StaticShapeObjectType | 8192 | 14 |
PlayerObjectType | 16384 | 15 |
ItemObjectType | 32768 | 16 |
VehicleObjectType | 65536 | 17 |
VehicleBlockerObjectType | 131072 | 18 |
ProjectileObjectType | 262144 | 19 |
ExplosionObjectType | 524288 | 20 |
unassigned | 2097152 | 21 |
CorpseObjectType | 1048576 | 22 |
DebrisObjectType | 4194304 | 23 |
PhysicalZoneObjectType | 8388608 | 24 |
unassigned | 33554432 | 25 |
StaticTSObjectType | 16777216 | 26 |
StaticRenderedObjectType | 67108864 | 27 |
unassigned | 268435456 | 28 |
unassigned | 536870912 | 29 |
unassigned | 1073741824 | 30 |
unassigned | 2147483648 | 31 |
Object Class | Method |
---|---|
AIPlayer | ai.moveForward() |
BanList | BanList::add(id, TA, banTime) |
Camera | camera.getPosition() |
Debris | obj.init(position, velocity) |
EditTSCtrl | EditTSCtrl.renderSphere(pos, radius,=) |
FileObject | file.openForRead(fileName) |
FlyingVehicle | FlyingVehicle.setCreateHeight(bool) |
GameBase | obj.getDataBlock() |
GameConnection | conn.chaseCam(size) |
GuiBitmapCtrl | guiBitmapCtrl.setBitmap(blah) |
GuiCanvas | canvas.renderFront(bool) |
GuiControl | ctrl.getPosition() |
GuiEditCtrl | editCtrl.addNewCtrl(ctrl) |
GuiFilterCtrl | guiFilterCtrl.getValue() |
GuiFrameSetCtrl | gfsc.frameBorder(index, enable) |
GuiInspector | inspector.inspect(obj) |
GuiMessageVectorCtrl | [GuiMessageVectorCtrl].attach(MessageVectorId) |
GuiPopUpMenuCtrl | menu.sort() |
GuiSliderCtrl | guiSliderCtrl.getValue() |
GuiTerrPreviewCtrl | guiTerrPreviewCtrl.reset() |
GuiTextListCtrl | textList.getSelectedId() |
GuiTreeViewCtrl | treeViewCtrl.open(obj) |
HTTPObject | obj.get(addr, request-uri) |
InteriorInstance | [InteriorObject].activateLight() |
Item | obj.isStatic() |
Lightning | [LightningObject].warningFlashes() |
MessageVector | [MessageVector].deleteLine(DeletePos) |
PhysicalZone | obj.activate() |
Player | obj.setActionThread(sequenceName) |
Precipitation | precipitation.setPercentage(percentage <1.0 to 0.0>) |
SceneObject | obj.getScale() |
ShapeBase | obj.setShapeName(tag) |
ShapeBaseData | obj.checkDeployPos(xform) |
SimpleNetObject | obj.setMessage(msg) |
Sky | sky.stormCloudsOn(0 or 1,Time) |
StaticShape | obj.setPoweredState(bool) |
TCPObject | obj.listen(port) |
Terraformer | Terraformer.canyon(dst, freq, turb, seed) |
Trigger | [TriggerObject].getNumObjects() |
TriggerData | [TriggerData].enterTrigger(Trigger, ObjectId) |
WaterBlock | waterBlock.toggleWireFrame() |
WorldEditor | worldEditor.redirectConsole(objID) |
Keyword | Description |
---|---|
break | Breaks execution out of a loop. |
case | Indicates a choice in a switch block. |
continue | Causes execution to continue at top of loop. |
datablock | Indicates that the following code block defines a datablock. |
default | Indicates the choice to make in a switch block when no cases match. |
do | Indicates start of a do-while type loop block. |
else | Indicates alternative execution path in an if statement. |
false | Evaluates to 0, the opposite of true. |
for | Indicates start of a for loop. |
function | Indicates that the following code block is a callable function. |
if | Indicates start of a conditional (comparison) statement. |
new | Creates a new object datablock. |
package | Indicates that the following code block encompasses a package. |
return | Indicates return from a function. |
switch | Indicates start of a switch selection block. |
true | Evaluates to 1, the opposite of false. |
while | Indicates the start of a while loop. |
Symbol | Meaning |
---|---|
+ | Add. |
- | Subtract. |
* | Multiply. |
/ | Divide. |
% | Modulus. |
++ | Increment by 1. |
– | Decrement by 1. |
+= | Addition totalizer. |
-= | Subtraction totalizer. |
*= | Multiplication totalizer. |
/= | Division totalizer. |
%= | Modulus totalizer. |
@ | String append. |
( ) | Parentheses—operator precedence promotion. |
[ ] | Brackets—array index delimiters. |
{ } | Braces—indicate start and end of code blocks. |
SPC | Space append macro (same as @ " " @). |
TAB | Tab append macro (same as @ "\t" @). |
NL | New line append (same as @ "\n" @). |
~ | (Bitwise NOT) Flips the bits of its operand. |
| | (Bitwise OR) Returns a 1 in a bit if bits of either operand is 1. |
& | (Bitwise AND) Returns a 1 in each bit position if bits of both operands are 1s. |
⁁ | (Bitwise XOR) Returns a 1 in a bit position if bits of one but not both operands are 1. |
<< | (Left-shift) Shifts its first operand in binary representation the number of bits to the left specified in the second operand, shifting in 0s from the right. |
>> | (Sign-propagating right-shift) Shifts the first operand in binary representation the number of bits to the right specified in the second operand, discarding bits shifted off. |
|= | Bitwise OR with result assigned to the first operand. |
&= | Bitwise AND with result assigned to the first operand. |
⁁= | Bitwise XOR with result assigned to the first operand. |
<<= | Left-shift with result assigned to the first operand. |
>>= | Sign-propagating right-shift with result assigned to the first operand. |
! | Evaluates the opposite of the value specified. |
&& | Requires both values to be true for the result to be true. |
|| | Requires only one value to be true for the result to be true. |
== | Left-hand value and right-hand value are equal. |
!= | Left-hand value and right-hand value are not equal. |
< | Left-hand value is less than right-hand value. |
> | Left-hand value is greater than right-hand value. |
<= | Left-hand value is less than or equal to right-hand value. |
>= | Left-hand value is greater than or equal to right-hand value. |
$= | Left-hand string is equal to right-hand string. |
!$= | Left-hand string is not equal to right-hand string. |
// | Comment operator—ignore all text from here to the end of the line. |
; | Statement terminator. |
. | Object/datablock method or property delimiter. |
High Priority | Low Priority | |||||
---|---|---|---|---|---|---|
( ) | * | / | % | + | - | = |
Token | Description |
---|---|
string constant | A sequence of alphanumeric characters bracketed by single or double quotes. |
variable | Prefixed with % for local variable or $ for global variable, which is then always followed by a letter character. After the initial letter character, there can be a series of alphanumeric characters, underscores, or colons; a variable cannot end with a colon. |
identifier | An initial letter character followed by an optional sequence of alphanumeric characters or underscores. |
number | A decimal integer or floating point number. Hexadecimal numbers can be used if the token begins with 0x (zero-x). |
Code | Description |
---|---|
\r | Embeds a carriage return character. |
\n | Embeds a new line character. |
\t | Embeds a tab character. |
\xhh | Embeds an ASCII character specified by the hex number (hh) that follows the x. |
\c | Embeds a color code for strings that will be displayed on-screen. |
\cr | Resets the display color to the default. |
\cp | Pushes the current display color onto a stack. |
\co | Pops the current display color off the stack. |
\cn | Uses n as an index into color table defined by GUIControlProfile.fontColors. |
Datablock | Parent |
---|---|
AudioDescription | SimDataBlock |
AudioEnvironment | SimDataBlock |
AudioProfile | SimDataBlock |
AudioSampleEnvironment | SimDataBlock |
CameraData | ShapeBaseData |
DebrisData | GameBaseData |
DecalData | SimDataBlock |
ExplosionData | GameBaseData |
FlyingVehicleData | VehicleData |
GameBaseData | SimDataBlock |
HoverVehicleData | VehicleData |
ItemData | ShapeBaseData |
LightningData | GameBaseData |
MissionMarkerData | ShapeBaseData |
ParticleData | SimDataBlock |
ParticleEmitterData | GameBaseData |
ParticleEmitterNodeData | GameBaseData |
PlayerData | ShapeBaseData |
PrecipitationData | GameBaseData |
ProjectileData | GameBaseData |
ShapeBaseData | GameBaseData |
ShapeBaseImageData | GameBaseData |
SimDataBlock | none |
SplashData | GameBaseData |
StaticShapeData | ShapeBaseData |
TSShapeConstructor | SimDataBlock |
TriggerData | GameBaseData |
VehicleData | ShapeBaseData |
WheeledVehicleData | VehicleData |
WheeledVehicleSpring | SimDataBlock |
WheeledVehicleTire | SimDataBlock |