Blockland Forums
Home
Help
Login
Register
Blockland Forums
»
Blockland Forums
»
Modification Help
»
Getting A Brick By It's Name
« previous
next »
Print
Pages: [
1
]
Author
Topic: Getting A Brick By It's Name (Read 516 times)
jes00
August 12, 2012, 07:24:57 AM
I know you can do _Name_Of_Brick but that does not work if there are multiple bricks with that name.
What is the best way to get
all
bricks with a name that causes the least amount of lag?
Ad Bot
Advertisement
nerraD
August 12, 2012, 07:34:09 AM
do a for statement? thats the only way you could do it really, imo.
Mold
August 12, 2012, 08:13:16 AM
add them to a list of bricks with name once setNTObjectName gets called
Then you loop through less bricks
Space Guy
August 12, 2012, 08:35:01 AM
Each brickgroup contains a list of these bricks already.
brickgroup.NTnameCount
brickgroup.NTname[num]
brickgroup.NTObjectCount_[name]
brickgroup.NTObject_[name,num]
Print
Pages: [
1
]
« previous
next »
Blockland Forums
»
Blockland Forums
»
Modification Help
»
Getting A Brick By It's Name