Blockland Forums
Home
Help
Login
Register
Blockland Forums
»
Blockland Forums
»
Modification Help
»
Figuring out what bricks are at certain coordinates?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Figuring out what bricks are at certain coordinates? (Read 494 times)
Super Suit 12
May 27, 2017, 08:14:21 PM
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?
Ad Bot
Advertisement
otto-san
May 27, 2017, 08:15:48 PM
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
»
Print
Pages: [
1
]
« previous
next »
Blockland Forums
»
Blockland Forums
»
Modification Help
»
Figuring out what bricks are at certain coordinates?