Blockland Forums > Modification Help
Input event activating via global function
<< < (2/3) > >>
Club559:

--- Quote from: Chrono on November 18, 2010, 05:22:40 PM ---That was the only question you asked.

--- End quote ---

How do I do it?
Club559:
Edited. Read.
phflack:
and that changes things, you could loop through every datablock, see if it's a brick, then trigger the events, although i'm not sure if that would be a smart way to do it or not
Chrono:

--- Quote from: phflack on November 18, 2010, 07:01:23 PM ---and that changes things, you could loop through every datablock, see if it's a brick, then trigger the events, although i'm not sure if that would be a smart way to do it or not

--- End quote ---
Not only do you not go through datablocks, but looping through every single brick could cause some severe lag.
I'm unsure on what proper method could be used, but I'm sure there is one.
phflack:
i figured it might cause lag :D
Navigation
Message Index
Next page
Previous page

Go to full version