| Blockland Forums > Modification Help |
| Change Brick Datablock event - coverage problem |
| (1/2) > >> |
| soba:
Okay, I was making an event that changes the bricks datablock ONLY if the new brick was of the exact size of the old, I thought I had it 100% working, but if I change, say, a 1x1 brick to a 1x1 Round brick, any faces next to, ontop or on the bottom of the bricks around it that have been hidden don't show up again, I was wondering if theres a way to recheck the bricks coverage around it without having to actually kill the brick, otherwise I get the brick death animation |
| Headcrab Zombie:
Have you dumped everything on the brick and looked if there's anything that looks relevant? Also a random guess, maybe one of the on____ functions is responsible for that, and maybe manually calling it after changing the datablock will fix it? EDIT: I don't know. Not even killing the brick fixed it for me |
| soba:
Well theres definetly something that fixes it, unless its handled by code that is unreachable... |
| M:
It probably is handled strictly by engine code. I believe that datablock changes not modifying the octree would be classified as a bug. |
| Amade:
--- Quote from: soba on December 11, 2011, 08:20:16 AM ---without having to actually kill the brick, otherwise I get the brick death animation --- End quote --- You can just delete the brick |
| Navigation |
| Message Index |
| Next page |