How to give only 1 selected player items?

Hello!

I am new to unreal engine and am trying to learn using it as well as the verse coding. I’m trying to make a verse device that give only the party leader weapons. This is for a skin contest so I need to make sure only one person (the jury) gets the weapons. Does anyone know how to write a verse code for that? Or if it’s possible to add a “password” pop up that grants the player weapons when given the right password?
I don’t want a button or something similar, as that would risk other players getting to it first.

Hello @exianica Welcome to forums!
Here’s an option if you prefer not to use Verse and instead rely on the built-in devices that UEFN provides. You just need an Item Granter and proper team setup.

  1. Place an Item Granter in the map.
  2. In its properties, assign the weapon you want to give.
  3. In the Team section, select which team should receive it (for example, Team Index 1, which could be the jury).
  4. Make sure the other players (the participants) are assigned to Team Index 2, so they won’t receive the weapon.
  5. In the Item Granter options, set it to grant the item only at game start.
    https://dev.epicgames.com/documentation/en-us/fortnite/using-item-granter-devices-in-fortnite-creative
    That way, only the player from the designated team will receive the weapon at the beginning of the match.

You can also use the Team Settings and Inventory device, which gives you more control. With it, you can define:

If you’d rather build it with Verse, this page also provides useful code examples you can use as references.

Hope it helps !