Author Topic: Torque Typemask List for v21  (Read 2635 times)

Updated version of http://forum.blockland.us/index.php?topic=198792.0

Note: Use the variable name, not the variable's value. If you use the variable value, then updates might break it.
Code: [Select]
$TypeMasks::All = "-1";
$TypeMasks::CameraObjectType = "4096";
$TypeMasks::CorpseObjectType = "1048576";
$TypeMasks::DamagableItemObjectType = "268435456";
$TypeMasks::DebrisObjectType = "4194304";
$TypeMasks::EnvironmentObjectType = "2";
$TypeMasks::ExplosionObjectType = "524288";
$TypeMasks::FxBrickAlwaysObjectType = "67108864";
$TypeMasks::FxBrickObjectType = "33554432";
$TypeMasks::GameBaseObjectType = "1024";
$TypeMasks::ItemObjectType = "32768";
$TypeMasks::MarkerObjectType = "64";
$TypeMasks::PhysicalZoneObjectType = "8388608";
$TypeMasks::PlayerObjectType = "16384";
$TypeMasks::ProjectileObjectType = "262144";
$TypeMasks::ShapeBaseObjectType = "2048";
$TypeMasks::StaticObjectType = "1";
$TypeMasks::StaticRenderedObjectType = "134217728";
$TypeMasks::StaticShapeObjectType = "8192";
$TypeMasks::StaticTSObjectType = "16777216";
$TypeMasks::TerrainObjectType = "4";
$TypeMasks::TriggerObjectType = "32";
$TypeMasks::VehicleBlockerObjectType = "131072";
$TypeMasks::VehicleObjectType = "65536";
$TypeMasks::WaterObjectType = "16";

The only difference is that $TypeMasks::InteriorObjectType has been removed, so all of your scripts are safe.
« Last Edit: November 02, 2012, 07:46:45 PM by Axolotl2 »

Aaaand why you post the result of export("$Typemasks::") ?

Aaaand why you post the result of export("$Typemasks::") ?
It's the point of the thread.

A listing of all the typemasks currently.

It's the point of the thread.

A listing of all the typemasks currently.
I think he was talking about why not just the list the variables instead of the variables WITH HIS datablocks or whatever after them

I think he was talking about why not just the list the variables instead of the variables WITH HIS datablocks or whatever after them
Not sure why it matters. If you want both, you get both. If you want just the name, you get that too.

Not sure why it matters. If you want both, you get both. If you want just the name, you get that too.
Because someone who barely knows anything about them could just copy paste the number into their script and wonder why it doesn't work.

Because someone who barely knows anything about them could just copy paste the number into their script and wonder why it doesn't work.
I put a notice on it.