This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
Quote from TheAdventureMaker var mob1 = 0; var mob2 = 0; var iamhelpervar = 0; function attackHook(a,v){ if(iamhelpervar == 0){ mob1=v; iamhelpervar = 1; } if(iamhelpervar==2){ mob2=v; iamhelpervar=1; } } function procCmd(){ var cmd=cmd.split(" "); if(cmd[1]=="teleport"){ Entity.setPosition(mob1,Entity.getPostionX(mob2);Entity.getPostionY(mob2);Entity.getPostionZ(mob2)); } } Maybe?
var mob1 = 0; var mob2 = 0; var iamhelpervar = 0; function attackHook(a,v){ if(iamhelpervar == 0){ mob1=v; iamhelpervar = 1; } if(iamhelpervar==2){ mob2=v; iamhelpervar=1; } } function procCmd(){ var cmd=cmd.split(" "); if(cmd[1]=="teleport"){ Entity.setPosition(mob1,Entity.getPostionX(mob2);Entity.getPostionY(mob2);Entity.getPostionZ(mob2)); } }
i cant make a mob tp to another mob
if you know please tell me!!by giving me an example
just simple okay?
Sincerely
Arqan
just not work,can you made an example for me?