# Raid System like valhiem or palword

**URL:** <https://forums.unrealengine.com/t/raid-system-like-valhiem-or-palword/2850259>\
**Category:** Blueprint\
**Tags:** unreal-engine, question\
**Created:** [November 4, 2026, 8:02pm UTC](https://forums.unrealengine.com/t/raid-system-like-valhiem-or-palword/2850259 "2026-11-04T20:02:01Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![MARZ64331](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MARZ64331](https://forums.unrealengine.com/u/MARZ64331)\
**Post date:** [November 4, 2026, 8:02pm UTC](https://forums.unrealengine.com/t/raid-system-like-valhiem-or-palword/2850259/1 "2026-11-04T20:02:01Z")

</div>

I was wondering how I would be able to even make something like that.

---

<div class="post-metadata">

**Author:** ![VsquadArt](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/vsquadart/32/1219163_2.png) [@VsquadArt](https://forums.unrealengine.com/u/VsquadArt)\
**Post date:** [November 5, 2026, 6:00pm UTC](https://forums.unrealengine.com/t/raid-system-like-valhiem-or-palword/2850259/2 "2026-11-05T18:00:04Z")

</div>

You could start with a Raid Manager Blueprint that checks trigger conditions, such as elapsed time or player progress, and selects spawn points a safe distance from the base.

Have it spawn enemies in waves, track how many are still alive, and end the raid when they’re defeated or a timer expires.

Is this for single-player or multiplayer? For multiplayer, you’ll want the server to control spawning and raid state.

---

<div class="post-metadata">

**Author:** ![MARZ64331](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MARZ64331](https://forums.unrealengine.com/u/MARZ64331)\
**Post date:** [November 5, 2026, 6:28pm UTC](https://forums.unrealengine.com/t/raid-system-like-valhiem-or-palword/2850259/3 "2026-11-05T18:28:22Z")

</div>

i got something started and it was fine at first but the more you go into each raid it messes up the logic it is singleplayer

---

<div class="post-metadata">

**Author:** ![MARZ64331](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MARZ64331](https://forums.unrealengine.com/u/MARZ64331)\
**Post date:** [November 5, 2026, 6:29pm UTC](https://forums.unrealengine.com/t/raid-system-like-valhiem-or-palword/2850259/4 "2026-11-05T18:29:37Z")

</div>

![Screenshot 2026-11-05 132729](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/f/4/6f4a0697718d8b6f593dca787c61306473ccf1d4.png)  
 ![Screenshot 2026-11-05 132737](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/6/a/c6a43c518a3805180f56a1b499fd38faf722e4f3.png)  
 ![Screenshot 2026-11-05 132744](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/4/1/941d616f6c27ba74a63e49a6f70eee9fc45b8720.png)  
 ![Screenshot 2026-11-05 132748](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/6/5/2655b7dd6900fae422c26e6ef7e3b13af14ce3b5.png)  
 ![Screenshot 2026-11-05 132756](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/c/0/7c0b95983cfb6b2c115ab3c360d4b0e4cc9e146d.png)

---

<div class="post-metadata">

**Author:** ![illspiritx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@illspiritx](https://forums.unrealengine.com/u/illspiritx)\
**Post date:** [November 5, 2026, 10:21pm UTC](https://forums.unrealengine.com/t/raid-system-like-valhiem-or-palword/2850259/5 "2026-11-05T22:21:53Z")

</div>

Haven’t played Valheim enough to see a raid, but just reading the wiki, I’d probably set it up like this:

First, in game instance make a map variable with creature type or faction enum as the key, and use float as the value. Then whenever a mob dies, have it call a function on game instance called Update Agro or some such, and have it increase the float value in map var based on creature’s type or faction. Update Agro func could have a float input so each creature could have its own “score.”

Then in game mode, on begin play, set a looping timer by event of 2700 seconds (or whatevs), and have the delegated event check the scores in that map var in game instance. Probably a foreach loop, and if float value \> trigger threshold, set a new bool called bRaidActive or something to true, and call a Start Raid event or function.

During the raid itself, I’d probably tweak the Update Agro logic in game instance, and if bRaidActive is true, add the creature kill “score” to another float var called raid progress, and when that’s \>= value needed to end raid, call func on game mode (or dispatch event and have gamemode bind to it) to end raid and set bRaidActive back to false. Should probably reset the float in the agro map to 0 for the current raid faction too on complete, so it doesn’t just restart immediately.

---

<div class="post-metadata">

**Author:** ![MARZ64331](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MARZ64331](https://forums.unrealengine.com/u/MARZ64331)\
**Post date:** [November 6, 2026, 2:53am UTC](https://forums.unrealengine.com/t/raid-system-like-valhiem-or-palword/2850259/6 "2026-11-06T02:53:34Z")

</div>

what do you think of the code above?

---

<div class="post-metadata">

**Author:** ![MARZ64331](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MARZ64331](https://forums.unrealengine.com/u/MARZ64331)\
**Post date:** [November 6, 2026, 2:58am UTC](https://forums.unrealengine.com/t/raid-system-like-valhiem-or-palword/2850259/7 "2026-11-06T02:58:17Z")

</div>

it works for raid one and two but then it starts to start ignoring logic that should limit spawn behavior on raid 3

---

<div class="post-metadata">

**Author:** ![MARZ64331](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MARZ64331](https://forums.unrealengine.com/u/MARZ64331)\
**Post date:** [November 6, 2026, 4:34am UTC](https://forums.unrealengine.com/t/raid-system-like-valhiem-or-palword/2850259/8 "2026-11-06T04:34:55Z")

</div>

nvm i fixed it

---

<div class="post-metadata">

**Author:** ![VsquadArt](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/vsquadart/32/1219163_2.png) [@VsquadArt](https://forums.unrealengine.com/u/VsquadArt)\
**Post date:** [November 7, 2026, 4:51pm UTC](https://forums.unrealengine.com/t/raid-system-like-valhiem-or-palword/2850259/9 "2026-11-07T16:51:32Z")

</div>

Glad you got it working! What turned out to be causing the issue on raid 3? Would be useful to know for anyone running into something similar.

---

<div class="post-metadata">

**Author:** ![MARZ64331](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MARZ64331](https://forums.unrealengine.com/u/MARZ64331)\
**Post date:** [November 8, 2026, 5:22am UTC](https://forums.unrealengine.com/t/raid-system-like-valhiem-or-palword/2850259/10 "2026-11-08T05:22:34Z")

</div>

I instead used an index that increments on spawn so that I can keep a tighter hold of the logic and I set the index back to zero when all enemies are gone. and use that for the first check spawned actor index greater or equal to max.
