Random gun pawn location

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

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)

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

Try this: https://www.youtube.com/watch?v=zEbK4qIH05U

hi i’m asking in unreal fortnite not unreal engine

Wooh… My bad, sorry.

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

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