Objective Device does not provide any way to detect it was destroyed by Explosive Device

Please select what you are reporting on:

Verse

What Type of Bug are you experiencing?

Devices

Summary

When an objective_device is destroyed by an explosive_device, DestroyedEvent is not raised. The device does not provide IsValid, so there is no other way to know it was destroyed.

This is a problem for my map, as I want to end the round when all objective devices are destroyed, whether it is done by players or explosives.

Steps to Reproduce

  1. Add an objective_device to the map
  2. Add an explosive_device to the map, make it powerful enough to destroy the objective and place it close enough
  3. In Verse, subscribe to Objective.DestroyedEvent
  4. In Verse, call Explosive.Explode, passing any agent (e.g. first player)

Expected Result

Objective.DestroyedEvent is triggered, and passes the agent that instigated the explosive. Alternatively, there is some other way to check that an objective has been destroyed.

Observed Result

Objective.DestroyedEvent is not triggered.

Platform(s)

Windows