Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Contact Us
  • Home
  • Client Help

What's the difference between actor-destroyed-target and actor-completed-destroy[target] events in the Series Events API?

Article 2341058, Status: VALIDATED

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Client Help
+ More

Table of Contents

❓Issue/Question 💻Environment/Context 👌Resolution/Answer

❓Issue/Question

  • What's the difference between actor-destroyed-target and actor-completed-destroy[target] events in the Series Events API?

💻Environment/Context

  • Series Events API
  • lol
  • dota

👌Resolution/Answer

  • actor-destroyed-target conveys that the event itself happened in the game
    • It changes the target's state to destroyed:true
    • It also includes information about who did it, which target was destroyed etc.
  • actor-completed-destroy[target] conveys that the player completed the goal of destroying the tower
    • It adds one more completed objective to the objectives array of the actor
    • It is useful for tracking how many targets a particular player has destroyed
  • Both events refer to the same action of a particular target being destroyed in game

Possible event combinations

player-destroyed-tower / player-completed-destroyTower

team-destroyed-tower / team-completed-destroyTower

player-destroyed-fortifier / player-completed-destroyFortifier

team-destroyed-fortifier / team-completed-destroyFortifier

player-destroyed-ancient / player-completed-destroyAncient

team-destroyed-ancient / team-completed-destroyAncient

player-destroyed-barracksMelee / player-completed-destroyBarracksMelee

team-destroyed-barracksMelee / team-completed-destroyBarracksMelee

player-destroyed-barracksRange / player-completed-destroyBarracksRange

team-destroyed-barracksRange / team-completed-destroyBarracksRange

 
 

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • How to handle rolling starts in Series Events?
  • Can I get a list of series that are currently live?
  • What are the rate limits for our products?
  • Why is netWorth on GRID's API different from the net worth (total gold) value on the broadcast? (LoL)
  • How to get information about the final state of a map/game/series?
Privacy Policy
Esports Players Privacy Notice
Imprint
Careers
GRID® 2022 | All Rights Reserved
Expand