OnNavigate:
atcommand "@navto " [email protected]_parameters$[0];
if (isloggedin(getcharid(0,[email protected]_parameters$[0])) != 1) { message strcharinfo(0), "Target player is offline or do not exist."; }
sleep2 1;
unitwalkto getcharid(3),getcharid(3,[email protected]_parameters$[0]);
}
Hi im trying to create a custom command using bindatcmd .. How to make it like @navto <character name> ???? Thankyou in advance !
Link to comment
Share on other sites