Author Topic: Brick Error List  (Read 466 times)

When you call fxDTSBrick.plant();
it returns a # according to the brick error (-1 i think for no error)
is there a list of them somewhere? if there isn't, can someone make one?

I remember seeing one somewhere, but that was from before maps were removed, and since then a few have been removed from that list.
I'm not sure if anything else in that list has changed though, and I can't find it anymore.

This is what I used back for my salvage mod:

Code: [Select]
if(%err = %brick.plant())
{
switch(%err)
{
case 1: %cmd = 'MsgPlantError_Overlap';
case 2: %cmd = 'MsgPlantError_Float';
case 3: %cmd = 'MsgPlantError_Stuck';
case 4: %cmd = 'MsgPlantError_Unstable';
case 5: %cmd = 'MsgPlantError_Buried';
case 6: %cmd = 'MsgPlantError_TooFar';
case 7: %cmd = 'MsgPlantError_TooLoud';
case 8: %cmd = 'MsgPlantError_Limit';
}

messageClient(%cl,%cmd);
%brick.delete();

return -1;
}

If it wasn't clear, 0 is for successful plant.