Will this make raycasts able to use this bitmask, or are bitmasks hardcoded into the game so that I can't make my own brick mask?
$TypeMasks::FxBrickSpecialObjectType = 1073741824; //*crosses fingers that this won't conflict in later versions*
package TypeMask_SpecialBricks
{
function fxDTSBrick::getType( %this )
{
%type = parent::getType(%this);
if( %this.getDatablock().useSpecialMask )
return %type | $TypeMasks::FxBrickSpecialObjectType;
else
return %type;
}
};