Please select what you are reporting on:
Unreal Editor for Fortnite
What Type of Bug are you experiencing?
Devices
Summary
When I try to give a weapon in a Guard Spawner Device (eg. WID_Athena_SMG_Slap_X) it simply does nothing just the slot for the item its removed from the matrix, 1 of 30 times it works properly, but after the issue happends the Guard Spawner don’t accept any more a weapon that previously was accepted.
Even I try to set the weapon using verse and item granter but it does nothing, even when the even its triggered the guard don’t receive the weapon
Steps to Reproduce
Using Guard Spawner
Place a Guard Spawner
Goto Item List
Add a slot
Try to assign a weapon in the slot
Using verse
Place Guard Spawner
Place a Item Granter
Add a Guard usable weapon in the Item Granter
Create this verse component
´´´
using { /Fortnite.com/Devices }
using { /Verse.org/Simulation }
using { /UnrealEngine.com/Temporary/Diagnostics }
using { /Fortnite.com/Characters }
using { /Fortnite.com/AI }
using { /Verse.org/Verse }
guard_weapon_granter_device := class(creative_device):
@editable
GuardGenerator:guard_spawner_device = guard_spawner_device {}
@editable
ItemGranter: item_granter_device = item_granter_device {}
OnBegin<override>()<suspends>:void=
GuardGenerator.SpawnedEvent.Subscribe(OnCharacterSpawned)
GuardGenerator.DamagedEvent.Subscribe(OnGuardDamaged)
GuardGenerator.Spawn()
OnCharacterSpawned(SpawnedAgent:agent):void=
Print("One guard has spawn.")
ItemGranter.GrantItem(SpawnedAgent)
Print("The guard has been receied a weapon!.")
´´´
Place the guard_weapon_granter_device in the map,
Set guard and item spwaners in guard_weapon_granter_device
Expected Result
1 The guard Spawner should accept the given weapon in the Item List
2 When call the item_granter_device.GrantItem is alled the guard should receive and equip the weapon
Observed Result
1 USING THE EDITOR
When I try to give a weapon in a Guard Spawner Device (eg. WID_Athena_SMG_Slap_X) it simply does nothing just the slot for the item its removed from the matrix, 1 of 30 times it works properly, but after the issue happends the Guard Spawner don’t accept any more a weapon that previously was accepted.
1 USING VERSE
The even its triggered but the weapon is not granted
Platform(s)
PC