Hello,
I use
unitwarp .GID,"prontera",154,176;
in the script below but it doesn't work
- script spawn_test -1,{
end;
OnTest:
monster "prontera",154,175,"--ja--",1026,1,strnpcinfo(3)+"::OnMyMobDead";
.GID = $@mobid[0];
initnpctimer;
end;
OnTimer5000:
if (unitexists(.GID) == 0) {
stopnpctimer;
end;
}
unitwarp .GID,"prontera",154,176;
initnpctimer;
end;
OnMyMobDead:
end;
OnInit:
bindatcmd "test",strnpcinfo(0)+"::OnTest",99,99;
end;
}
Thanks