Player Health/Shield Stacks When Re-entering Changing Booth as Hero

Summary

When a player transforms themselves into a Hero (Darth Vader, Rey Skywalker etc.) and then enters the changing booth and changes their skin. The players health and shield gets increased.
We are using Verse to set the players health and shield, but when they change into a hero and enter the changing booth their health and shield gets increased more and more when entering and reentering the changing booth.

Please select what you are reporting on:

Verse

What Type of Bug are you experiencing?

Devices

Steps to Reproduce

  • Place Verse device (verse code provided in the comments below)
  • Place a button and hook it up to the verse device
  • Place a hero device and another button
  • Apply the transformation to the instigator with the new button
  • Place down a changing booth
  • Launch a session
  • Interact with the button to set the players health to 500 and 500 shield
  • Interact with the other button to apply a hero transformation (Rey Skywalker)
  • Enter the changing booth and select a different skin then you’re already wearing
  • When the skin is changed leave the changing booth
  • Observe the players health and shield being increased

Expected Result

When leaving and entering a changing booth the players health and shield stays the same

Observed Result

When leaving and entering a changing booth the players health and shield gets increased. The player can ‘‘stack’’ a lot of health this way, by entering and leaving the changing booth multiple times

Platform(s)

PC / ALL

Island Code

9543-4980-8804

Video

Repo verse code:

using { /Fortnite.com/Devices } using { /Fortnite.com/Characters } using { /Verse.org/Simulation }

File should be named: health_shield_setter.verse

health_shield_setter := class(creative_device): @editable Button : button_device = button_device{} TargetHealth : float = 500.0 TargetShield : float = 500.0 OnBegin<override>()<suspends> : void = Print("Device started - waiting for button press") Button.InteractedWithEvent.Subscribe(OnButtonInteracted) OnButtonInteracted(Agent : agent) : void = Print("Button pressed!") if (Character := Agent.GetFortCharacter[]): Print("Character found - setting health and shield") Character.SetMaxHealth(TargetHealth) Character.SetMaxShield(TargetShield) Character.SetHealth(TargetHealth) Character.SetShield(TargetShield) else: Print("Failed to get character!")

Thanks, Esmee.

Getting someone to take a look.

1 Like

FORT-1109801 has been created and its status is ‘Unconfirmed’. This is now in a queue to be reproduced and confirmed.