# /v1/botaction

**POST** Send Bot Command so that it can do something.

Object structure:

{"IP", "127.0.0.1 or IP competitive pvp API assigned you"}, {"apiPassword", "password that you get from /v1/apipassword" }, {"entityUniqueID", "uniqueID of bot that you want to control" }, {"actionType", "action that you want to perform -> rotate, move, attack, stop, chat, reload, skill, cancelAttack"}, {"actionValue", "some actions also take value, more on that below"}

* rotate takes Vector3 actionValue: {x,y,z}, this is the world location where you want to rotate your bot.
* move takes Vector3 actionValue: {x,y,z}, this is the world location where you want to go, bot will use game's inbuilt pathfinding, but nothing stops you from writing your own pathfinder using data from /v1/grid.
* attack takes string actionValue: uniqueID, this is the ID of the Bot that you want to attack or heal, for example.
* chat takes string actionValue: message, bots can talk.
* skill takes int actionValue: skillIndex, this is arrayIndex, bots can have max 3 skills.

Note: After the game detects that the player is sending API Bot Commands, the inbuilt AI for a player will turn off.
