Quantcast
Channel: General - Epic Developer Community Forums
Viewing all articles
Browse latest Browse all 9425

Function .StartForAll on the Timer Device doesn't work inside of verse

$
0
0

Reference ID

21b567cb-43c3-66bb-d0d1-6a9e78917029

Please select what you are reporting on:

Verse

What Type of Bug are you experiencing?

Devices

Summary

Timer device StartForAll doesn’t work inside of verse

Steps to Reproduce

Place down a timer device and a button, attach the button in verse to fire the StartForAll function for the timer device.

Code:
using { /Fortnite.com/Devices }
using { /Verse.org/Simulation }
using { /UnrealEngine.com/Temporary/Diagnostics }

TimerButton := class(creative_device):

@editable Button: button_device = button_device {}
@editable Timer: timer_device = timer_device {}

OnBegin<override>()<suspends>:void=
    Button.InteractedWithEvent.Subscribe(StartTimer)

StartTimer(Agent:agent):void=
    Timer.StartForAll()
    Print ("Timer Started")

Expected Result

The timer will start for all players

Observed Result

The timer doesn’t start and nothing happens

Platform(s)

windows

Additional Notes

This also affects if the StartForAll is triggered via an agent

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 9425

Trending Articles