# Is there a way to heal teammates with bullets? 

**URL:** <https://forums.unrealengine.com/t/is-there-a-way-to-heal-teammates-with-bullets/2526627>\
**Category:** Verse\
**Tags:** unreal-engine, unreal-editor-for-fortnite\
**Created:** [May 24, 2025, 9:52pm UTC](https://forums.unrealengine.com/t/is-there-a-way-to-heal-teammates-with-bullets/2526627 "2025-05-24T21:52:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rraccatouille](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@rraccatouille](https://forums.unrealengine.com/u/rraccatouille)\
**Post date:** [May 24, 2025, 9:52pm UTC](https://forums.unrealengine.com/t/is-there-a-way-to-heal-teammates-with-bullets/2526627/1 "2025-05-24T21:52:29Z")

</div>

I need help writing a code that makes it so weapons heal teammates while still damaging opponents for a hero-based gamemode for UEFN. I have no idea where to start.

---

<div class="post-metadata">

**Author:** ![doctorpepperdan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@doctorpepperdan](https://forums.unrealengine.com/u/doctorpepperdan)\
**Post date:** [May 25, 2025, 2:59am UTC](https://forums.unrealengine.com/t/is-there-a-way-to-heal-teammates-with-bullets/2526627/2 "2025-05-25T02:59:20Z")

</div>

I don’t know anything about UEFN unfortunately, but the basic logic would be, on your bullet actor, on collision event, check whether their in your team or not, and use a branch decision to either apply damage or heal. Wish I could offer more indepth advice but I haven’t used UEFN or done any multiplayer work yet. Best of luck
