Blockland Forums > Modification Help

Brick syntax error

Pages: (1/2) > >>

pecon98:


--- Code: ---datablock fxDTSBrickData (5515)
{
brickfile = "./5515.blb";
category = "Bricks";
subCategory = "Generated";
uiName = "5x5x15";
};
--- End code ---
This gives me a syntax error for some reason, I compared it to the Large Cubes datablock and I don't see any differences in the syntax besides the icon being non-existant.

--- Code: ---datablock fxDTSBrickData (brick64xCubeData)
{
brickFile = "./64x Cube.blb";
category = "Baseplates";
subCategory = "Cube";
uiName = "64x Cube";
iconName = "Add-Ons/Brick_Large_Cubes/64x Cube";
};
--- End code ---


KoopaScooper:

fxDTSBrickData names have to fall under brickBLANKData

otto-san:


--- Quote from: KoopaScooper on October 29, 2011, 09:27:31 PM ---fxDTSBrickData names have to fall under brickBLANKData

--- End quote ---
no they don't

Xalos:

You're trying to set the datablock's name to a string beginning with a non-alphabetical character.

You can't do that.

If you still don't get it: echo(%0N);

(That's not a perfect example because referring to objects by name doesn't use % or $.)

Kalphiter:

No variable name/object name can start with a number.

Pages: (1/2) > >>

Go to full version