Blockland Forums > Modification Help
Dealing with Bricks?
(1/1)
Mordicaii:
I do a lot of utility programming for myself and my job, and I understand the syntax of Torque Script.
What I cannot figure out is how to spawn, delete, reference, and alter bricks.  What I mean by reference is doing something similar to what the duplicator (in part) does, latches onto a brick and read the properties, and by alter, I simply mean change colour, effect, item, light, and emitter.

How exactly would I do this?  Is there some "brick management" API that I am unaware of, or have I missed something dreadfully obvious?
Plornt:
Look at a brick, say /getid, type in the ID.dump(); and it will list you all the possible things you can do to that brick.
Mordicaii:

--- Quote from: Plornt on July 03, 2011, 02:59:33 PM ---Look at a brick, say /getid, type in the ID.dump(); and it will list you all the possible things you can do to that brick.

--- End quote ---

Wunderbar!
Thank you
Navigation
Message Index

Go to full version