NPC Spawner's Agent does not work as a damage function instigator

Please select what you are reporting on:

Unreal Editor for Fortnite

What Type of Bug are you experiencing?

Devices

Summary

A Custom NPC’s agent spawned from the npc spawner device does not work as a instigator for damage function

Steps to Reproduce

Custom npc
get the spawned npcs’agent
pass it into the damage args instigator property for Damage
no damage will be done

var args : damage_args = damage_args{
Instigator := option{SourceAgent.GetInstigator()}
Amount := AppliedDamage
}

                                if:
                                    args.Instigator?
                                then:
                                    Print("Instigator is valid")

                                TargetCharacter.Damage(args)

Expected Result

Damage would be applied from the instigator

Observed Result

No damage is done, no error, nothing happens

Platform(s)

pc

Bump

This will be addressed in 34.30. Thank you for the report!

A full fix will be in 36.00, sorry for the delay!

1 Like

FORT-766817 is ‘Closed’ as ‘Fixed’. The issue will be addressed in 36.00.