# Random gun pawn location

**URL:** <https://forums.unrealengine.com/t/random-gun-pawn-location/2445298>\
**Category:** World Creation\
**Tags:** unreal-editor-for-fortnite, fortnite-creative, unreal-engine, question, fortnite\
**Created:** [April 7, 2025, 7:58pm UTC](https://forums.unrealengine.com/t/random-gun-pawn-location/2445298 "2025-04-07T19:58:27Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![rowenadoge](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@rowenadoge](https://forums.unrealengine.com/u/rowenadoge)\
**Post date:** [April 7, 2025, 7:58pm UTC](https://forums.unrealengine.com/t/random-gun-pawn-location/2445298/1 "2025-04-07T19:58:27Z")

</div>

**Hi,**  
I want to create a weapon that spawns at a random location in each round. Can someone please explain how to do this, or share a useful video or tutorial?  
Basically, I want the weapon’s location to be randomized every round.

thank you in advance

---

<div class="post-metadata">

**Author:** ![dZh0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dZh0](https://forums.unrealengine.com/u/dZh0)\
**Post date:** [April 7, 2025, 8:04pm UTC](https://forums.unrealengine.com/t/random-gun-pawn-location/2445298/2 "2025-04-07T20:04:52Z")

</div>

This should be quite trivial.

1. Make several weapon spawn actors in your level.
2. When you need to spawn either in your level or your game state:
3. Take all weapon spawn actors and choose one at random
4. Create a weapon pickup on top of it

(for optimization you can store all weapon spawn actors when the level is loaded to avoid getting them every time you need to spawn)

---

<div class="post-metadata">

**Author:** ![rowenadoge](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@rowenadoge](https://forums.unrealengine.com/u/rowenadoge)\
**Post date:** [April 7, 2025, 8:17pm UTC](https://forums.unrealengine.com/t/random-gun-pawn-location/2445298/3 "2025-04-07T20:17:03Z")

</div>

can you explain more brefiely , sorry i’m not understanding

---

<div class="post-metadata">

**Author:** ![dZh0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dZh0](https://forums.unrealengine.com/u/dZh0)\
**Post date:** [April 7, 2025, 8:21pm UTC](https://forums.unrealengine.com/t/random-gun-pawn-location/2445298/4 "2025-04-07T20:21:15Z")

</div>

Try this: [https://www.youtube.com/watch?v=zEbK4qIH05U](https://www.youtube.com/watch?v=zEbK4qIH05U)

---

<div class="post-metadata">

**Author:** ![rowenadoge](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@rowenadoge](https://forums.unrealengine.com/u/rowenadoge)\
**Post date:** [April 8, 2025, 5:18am UTC](https://forums.unrealengine.com/t/random-gun-pawn-location/2445298/5 "2025-04-08T05:18:52Z")

</div>

hi i’m asking in unreal fortnite not unreal engine

---

<div class="post-metadata">

**Author:** ![dZh0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dZh0](https://forums.unrealengine.com/u/dZh0)\
**Post date:** [April 8, 2025, 5:44am UTC](https://forums.unrealengine.com/t/random-gun-pawn-location/2445298/6 "2025-04-08T05:44:43Z")

</div>

Wooh… My bad, sorry.

---

<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:** [April 8, 2025, 1:37pm UTC](https://forums.unrealengine.com/t/random-gun-pawn-location/2445298/7 "2025-04-08T13:37:28Z")

</div>

I received a reply from one of our senior tech designers:

- Place item spawners at the locations where weapons should spawn. Ensure they aren’t enabled by default.
- Setup a Random Number Generator device
- Link the RNG device to the item spawners via events
- Activate the RNG device each round

---

<div class="post-metadata">

**Author:** ![rowenadoge](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@rowenadoge](https://forums.unrealengine.com/u/rowenadoge)\
**Post date:** [April 8, 2025, 4:16pm UTC](https://forums.unrealengine.com/t/random-gun-pawn-location/2445298/8 "2025-04-08T16:16:39Z")

</div>

hi thanks for your reply can you please explain me breifly please , in which section i need to add events , there are so many events in RNG device , please can you explain briefly
