Please select what you are reporting on:
Unreal Editor for Fortnite
What Type of Bug are you experiencing?
Devices
Summary
Bugs for me to enjoy:
Players can not simultaneously push buttons to increment a trigger “x” amount of times or a tracker to increment progress.
The “On triggered” event is unresponsive.
the “When Complete” event is unresponsive.
Delete and replace the tracker or trigger or buttons, add delay to buttons, nothing works. The Events are broken on the buttons and triggers and trackers.
I used verse to subscribe events for the buttons and the triggers.
Told the trigger to “do this” when? “On Triggered”
Nothing happens.
Pretty sure just another individual creator account bug with the Version Updates released on Epic Games Platform for my account, maybe not?
When I use verse :
using { /Fortnite.com/Devices }
using { /Verse.org/Simulation }
# Class definition for the button interaction counter
ButtonInteractionCounter_A1 := class(creative_device):
var PressCount : int = 0 # Variable to count the number of button presses
# Editable properties to link button devices in the UEFN editor
@editable
Button1 : button_device = button_device{}
@editable
Button2 : button_device = button_device{}
@editable
Button3 : button_device = button_device{}
@editable
Button4 : button_device = button_device{}
@editable
FinalTrigger : trigger_device = trigger_device{} # Editable property to link the final trigger device
# Function that runs when the device begins
OnBegin<override>()<suspends>:void=
Button1.InteractedWithEvent.Subscribe(OnButtonInteractedWith) # Subscribe to the interaction event for Button1
Button2.InteractedWithEvent.Subscribe(OnButtonInteractedWith) # Subscribe to the interaction event for Button2
Button3.InteractedWithEvent.Subscribe(OnButtonInteractedWith) # Subscribe to the interaction event for Button3
Button4.InteractedWithEvent.Subscribe(OnButtonInteractedWith) # Subscribe to the interaction event for Button4
Print("Subscribed to button events.") # Print a message indicating subscriptions are set
# Function called when any button is interacted with
OnButtonInteractedWith(InAgent:agent):void=
set PressCount += 1 # Increment the press count by 1
Print("Button pressed. Current count: {PressCount}") # Print the current count of button presses
# Check if four buttons have been pressed
if (PressCount = 4):
Print("Press count is 4, triggering final trigger.") # Print a message indicating the final trigger will be activated
TriggerMultipleTimes(4) # Call the function to trigger the final trigger multiple times
# Function to trigger the final trigger multiple times
TriggerMultipleTimes(count:int):void=
for (i := 0..count-1): # Loop from 0 to count-1
Print("Activating FinalTrigger. Remaining count: {count - i}") # Print the remaining count of activations
FinalTrigger.Trigger() # Trigger the final trigger device
set PressCount = 0 # Reset the press count after triggering
Log Returns “Activating FinalTrigger. Remaining count: 1” (A sign the buttons are all pressed and triggering the trigger or tracker in either case)
Nothing happens when more than one player presses the buttons assigned to the trigger counting “x” amount of times… The “On Triggered” did not work. The “When complete” fuction didnt work. No matter what I do. The main functions are broken, along with so many other things (Teams data, playspace. etc)
Steps to Reproduce
Read above
Expected Result
Read Above
Observed Result
Read Above
Platform(s)
ALL
Tested on: Switch mobile PC PS4 Xbox etc