Summary
Calling fort_character.Damage(damage_args{Instigator:=option{npc_behavior.GetAgent.GetInstigator()}} will not deal damage to the player. changing the instigator to false does damage the player, which makes me think the issue is within the NPC.
Also tried using the NPC’s fort_character as Instigator, since it implements the game_action_instigator interface, but still, no damage dealt.
Please select what you are reporting on:
Verse
What Type of Bug are you experiencing?
AI
Steps to Reproduce
Create a custom npc_behavior and link it to a NPC spawner, then, damage a player using the fort_character.Damage and pass option{npc_behavior.GetAgent.GetInstigator()} to the Instigator field of the damage_args.
Expected Result
The player is damaged correctly
Observed Result
The player is not damaged.
Platform(s)
windows
Additional Notes
I also tried passing the Source to damage_args, but the damage is still not applied.