Blockland Forums > Modification Help
Rooting a player animation
Lugnut:
why couldn't you package playThread?
Treynolds416:
New question:
I can't call getUpBrick() or getDownBrick() on a ghost brick, and it would be helpful if I were able to. It's for a semi-custom floating protocol.
Destiny/Zack0Wack0:
--- Quote from: Treynolds416 on June 15, 2012, 07:29:39 PM ---New question:
I can't call getUpBrick() or getDownBrick() on a ghost brick, and it would be helpful if I were able to. It's for a semi-custom floating protocol.
--- End quote ---
It hasn't been inserted into the brick grid yet, so it has no idea if there are bricks below or above it.
Treynolds416:
--- Quote from: Destiny/Zack0Wack0 on June 15, 2012, 08:16:52 PM ---It hasn't been inserted into the brick grid yet, so it has no idea if there are bricks below or above it.
--- End quote ---
I feared as much
I traced trying to plant a brick in the air; It looked like the brick was planted for a split second because onAdd and onRemove were called.
Edit: I guess I really need to know now how to root the player now
Brian Smithers:
>ignoring posts
psuedo code:
package [randomstuff]
player::playthread(%player,%thread,%slot) i think
if player.root
return
else
parent
end package [randomstuff]