IAH: INTERNET WAR
  • API DOCUMENTATION
  • 1. API Pricing
  • 2. API Example
  • 3. API Calls
    • /v1/playerstate
    • /v1/matchstate
    • /v1/tiles
    • /v1/grid
    • /v1/apipassword
    • /v1/entities
    • /v1/botaction
    • /v1/raycast
    • /v1/cpubusy
    • /v1/system
    • /v1/buffer
    • /v1/tileaction
    • /v1/frameworkaction
    • /v1/levelup
    • /v1/tpscreen
  • 4. IAMHACKER.CC API Calls
  • 5. PvP Testing
  • 6. Help
Powered by GitBook
On this page
  1. 3. API Calls

/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.

Previous/v1/entitiesNext/v1/raycast

Last updated 10 months ago