Author Topic: Figuring out what bricks are at certain coordinates?  (Read 494 times)

Is it possible to find bricks at certain coordinates? Like, let's say I have a 2x2x5 brick placed at the origin, and a water brick placed there as well, and I type in 0 0 1. I want to make BOTH bricks do onRelay. How would I do that?

a container search with a very small radius/area would probably do the trick https://forum.blockland.us/index.php?topic=224122.0

to call onRelay once you find the bricks, you'd use processInputEvent. pretty sure that'd be %brick.processInputEvent("onRelay", [client object if applicable]); tho it's been a while
« Last Edit: May 27, 2017, 08:21:09 PM by otto-san »