bot.emit('goToPlayer', '1ust'); // "1ust" can be a player name or ID
// legacy dispatches: bot.dispatch(new GoToPlayerDispatch('1ust'));
target (string): This can either be an ingame username or an ingame player ID. Note that IDs take priority over usernames, so if you pass something like 5 and there is a player with the name 5, the bot will select the player with the ID 5 instead of the player with the name 5. IDs should be passed as strings.PATHFINDING intentA GoToAmmoDispatch will hijack both the looking and the movement of the bot. This means that you will run into issues if you issue ANY rotation/movement based actions, including LookAt and Move.
bot.emit('goToPlayer', '1ust'); // "1ust" can be a player name or ID
// legacy dispatches: bot.dispatch(new GoToPlayerDispatch('1ust'));
target (string): This can either be an ingame username or an ingame player ID. Note that IDs take priority over usernames, so if you pass something like 5 and there is a player with the name 5, the bot will select the player with the ID 5 instead of the player with the name 5. IDs should be passed as strings.PATHFINDING intentA GoToAmmoDispatch will hijack both the looking and the movement of the bot. This means that you will run into issues if you issue ANY rotation/movement based actions, including LookAt and Move.