thread message was edited, first he asked for a function to replace blocks
and i answered with an example not a function for current request
[quote=MrAndyPE;/members/MrAndyPE;/forums/minecraft-pocket-edition/mcpe-mods-tools/mcpe-mod-tool-discussion/2360138-help-i-made-a-small-script-that-doesnt-work?comment=3]The script above does not really help...
function modTick() {
if (getTile(Player.getX(), Player.getY(), Player.getZ()) == 64) {
setTile(Player.getX()+2,Player.getY()+2,Player.getZ()+2, 74);
}
}
when they walk threw a door! Here is what I have:
Function getTile(x,y,z);
{
if (blockId = 224)
{
setTile(x+2,y+2,z+2);
}
}
THIS DOESNT WORK!!!! Can anyone tell me what I
did wrong or make a script for me to use? Thanks guys!
function modTick() {
if (getTile(Player.getX(), Player.getY(), Player.getZ()) == 64) {
setTile(Player.getX()+2,Player.getY()+2,Player.getZ()+2, 74);
}
}
", sans-serif">Want to get paid for uploading mods?
", sans-serif">Click here
For free Bitcoins, click here!
", sans-serif">Want to get paid for uploading mods?
", sans-serif">Click here
For free Bitcoins, click here!
Thank you guys so much!!!! It really helps!
(Please Help Make Texture Pack And Review The Mod)
I'll Gladly Accept It
Pls Help With Tools Also
https://www.dropbox.com/s/gstvb16156ymmn4/Ruby Things.js?dl=0