Please select what you are reporting on:
Unreal Editor for Fortnite
What Type of Bug are you experiencing?
Devices
Summary
Crouch of Input Trigger Devices reacts when Sprint is also done.
Steps to Reproduce
#1 Set Input Trigger Devices to Creative Input Action,Crouch
#2 Get PressedEvent in Verse
Expected Result
Triggered only when a crouching input is made.
Observed Result
Activated when Sprinting, when crouching, when
Platform(s)
PC,PS5
Additional Notes
I don’t know if it’s a requirement, but I’m not sure if it’s a requirement, but I’d like to use the third-person device and the CameraOrbit device.
Hello @Fortnigtht, we’ve double checked the Input Trigger Device with both direct event binding and Verse script implementation, while both of them are working properly as expected.
We are using some test Verse script setup as below and it validates to be working properly. Could you share any further details about your setup so that we can have a better investigation?
using { /Fortnite.com/Devices }
using { /Verse.org/Simulation }
using { /UnrealEngine.com/Temporary/Diagnostics }
# Quick Test for the Input Trigger activating on Crouch but not Sprint.
TestInputTrigger := class(creative_device):
@editable
Input:input_trigger_device = input_trigger_device{}
OnBegin<override>()<suspends>:void=
Print("Started Input Trigger Test. Debug text should appear when pressing/releasing Crouch but not Sprint")
Input.PressedEvent.Subscribe(OnPressed)
Input.ReleasedEvent.Subscribe(OnReleased)
OnPressed(Agent:agent):void=
Print("Pressed")
OnReleased(Agent:agent, Time:float):void=
Print("Released. Held for {Time}s")
We have verified that it occurs only under the following conditions
Input Type : Standard Action
Standard Input : Crouch
Registered Player Behavior : Require Registered