Summary
A Scene Graph component can subscribe to an editor-assigned objective_device.
When the objective is damaged by a player, or through Objective.Damage(1.0), the DamagedEvent callback should run.
Please select what you are reporting on:
Verse
What Type of Bug are you experiencing?
Scene Graph
Steps to Reproduce
Place an Objective Device that can receive player damage.
Create a Scene Graph component with an editable objective_device.
Subscribe to DamagedEvent during OnBeginSimulation.
Print from the callback.
Damage the objective or call Objective.Damage(1.0).
Observe that the callback never runs.
Expected Result
The damage result is listenable in verse/ scene graph
Observed Result
Verse cannot listen to the damage result The component starts correctly and logs that the event subscription was created, but the callback never runs.
This happens with:
Player damage.
Objective.Damage(1.0).
Multiple listeners subscribed to the same event.
No Verse errors are logged.
Platform(s)
PC