Author Topic: Dealing with Bricks?  (Read 328 times)

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?

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.

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.

Wunderbar!
Thank you