Blockland Forums > Modification Help

Brick ID

Pages: << < (3/4) > >>

elm:


--- Quote from: Arcleader on June 18, 2012, 06:26:25 PM ---Anything xD The item, the name, the rendering settings etc. Without using a wrench.

--- End quote ---

Yeah, %brick.setItem(..itemdata..); %brick.setRendering(..boolean..); etc. Do %brick.dump(); and look in the console to see all of the functions you can do.

Mold:

Could'nt someone make an eventbot as a builbot extension?

Arcleader:

Oh, sorry that you didn't understand this, but the clientCmdOpenWrenchDlg(); opens up the wrench GUI and it let me change aspects of the brick through that. Also I just realized I did it wrong earlier, and you actually can specify the name of the brick with the first argument. So saying clientCmdOpenWrenchDlg(Hello); in the console will open up the wrench GUI and let you change the properties of the brick named "Hello", at least when you are host.

Mold:


--- Quote from: Arcleader on June 18, 2012, 06:33:04 PM ---Oh, sorry that you didn't understand this, but the clientCmdOpenWrenchDlg(); opens up the wrench GUI and it let me change aspects of the brick through that. Also I just realized I did it wrong earlier, and you actually can specify the name of the brick with the first argument. So saying clientCmdOpenWrenchDlg(Hello); in the console will open up the wrench GUI and let you change the properties of the brick named "Hello", at least when you are host.

--- End quote ---
Have the ID of the brick, and the brick has to be yours, the it gonna work on any server.

Arcleader:

It does! Yay! :D Now I just need a way to find the ID of my brick on another server, or a way to name a brick as I plant it, and I won't need a wrench anymore/can change the properties of bricks on servers that don't allow you to have a wrench. Thank you guys!

Pages: << < (3/4) > >>

Go to full version