Blockland Forums > Modification Help
Colors.... If Trans....?
(1/2) > >>
Pew446:
Is it possible to find if a color is transparent by it's id?

Like

if(%brick.getColorId().Transparency > 0){
do stuff
}

?
Kalphiter:
%brick.getColorId().dump();

Then look for it
Pew446:
Theres not ;-;

Anyways, another question.

Do scripts have a limit to how many characters they can hold? My script keeps getting syntax errors at the end, but when I delete a blank line, the syntax will move closer to the end, until it finally has no errors.
Greek2me:
Check the line or lines above the error. It might be a function, incorrect brackets, anything. It's just telling you it has no clue really.
otto-san:
the transparency is in the color

it's not a variable
you'd have to find the alpha of the brick's color.
Navigation
Message Index
Next page

Go to full version