Blockland Forums > Modification Help
Rooting a player animation
Treynolds416:
I made a script to package OnPlant and not allow planting of bricks in certain situations. The script works, but the player still makes the planting animation. I've tried playThread(2,root), but I don't really know what I'm doing and it doesn't work.
Also, it still makes the planting sound occasionally. I can live with this, but if anyone knows an easy way to stop it doing that it would be great.
Port:
Why can't you modify serverCmdPlantBrick to stop it from the beginning?
Treynolds416:
--- Quote from: Port on June 12, 2012, 10:55:22 AM ---Why can't you modify serverCmdPlantBrick to stop it from the beginning?
--- End quote ---
I need the actual brick as an argument.
If you could tell me how to get the worldbox and position of the attempted brick from the client, that would be helpful too
ThinkInvisible:
You can try completely rewriting the plantBrick command instead of modifying part of it.
Port:
--- Quote from: Treynolds416 on June 12, 2012, 10:57:15 AM ---I need the actual brick as an argument.
If you could tell me how to get the worldbox and position of the attempted brick from the client, that would be helpful too
--- End quote ---
<client_object>.player.tempBrick.*