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

**URL:** <https://forums.unrealengine.com/t/npc-spawners-agent-does-not-work-as-a-damage-function-instigator/1881914>\
**Category:** Issues and Bug Reporting\
**Tags:** unreal-editor-for-fortnite, fortnite-creative, fixed, fortnite\
**Created:** [May 31, 2024, 4:57am UTC](https://forums.unrealengine.com/t/npc-spawners-agent-does-not-work-as-a-damage-function-instigator/1881914 "2024-05-31T04:57:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tanahara](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tanahara](https://forums.unrealengine.com/u/Tanahara)\
**Post date:** [May 31, 2024, 4:57am UTC](https://forums.unrealengine.com/t/npc-spawners-agent-does-not-work-as-a-damage-function-instigator/1881914/1 "2024-05-31T04:57:30Z")

</div>

### 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

---

<div class="post-metadata">

**Author:** ![HimboHouse](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/himbohouse/32/746991_2.png) [@HimboHouse](https://forums.unrealengine.com/u/HimboHouse)\
**Post date:** [December 3, 2024, 3:20am UTC](https://forums.unrealengine.com/t/npc-spawners-agent-does-not-work-as-a-damage-function-instigator/1881914/3 "2024-12-03T03:20:19Z")

</div>

Bump

---

<div class="post-metadata">

**Author:** ![Flak](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/flak/32/769441_2.png) [@Flak](https://forums.unrealengine.com/u/Flak)\
**Post date:** [March 13, 2025, 12:48pm UTC](https://forums.unrealengine.com/t/npc-spawners-agent-does-not-work-as-a-damage-function-instigator/1881914/4 "2025-03-13T12:48:19Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![FrozenInMTL\_Epic](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/frozeninmtl_epic/32/1181579_2.png) [@FrozenInMTL\_Epic](https://forums.unrealengine.com/u/FrozenInMTL_Epic)\
**Post date:** [May 14, 2025, 1:18pm UTC](https://forums.unrealengine.com/t/npc-spawners-agent-does-not-work-as-a-damage-function-instigator/1881914/5 "2025-05-14T13:18:24Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Bug-Reporter](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bug-reporter/32/1223650_2.png) [@Bug-Reporter](https://forums.unrealengine.com/u/Bug-Reporter)\
**Post date:** [August 25, 2025, 2:28pm UTC](https://forums.unrealengine.com/t/npc-spawners-agent-does-not-work-as-a-damage-function-instigator/1881914/6 "2025-08-25T14:28:38Z")

</div>

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