Summary
It seems like the IsHeld function is bugged. No matter what I do it always returns false. I also have the player registered. The normal PressedEvent() works just fine.
DoWhileHeld(Agent:agent, FortChar:fort_character)<suspends>:void=
Print("Trying to start loop")
loop:
if(BoostInputTrigger.IsHeld\[Agent\]):
Print("Applying Boost, still held")
FortChar.ApplyLinearImpulse(BoostForce)
#ForChar.ApplyForce(BoostForce)
Sleep(0.5)
else:
break
It’s things like this that make working with UEFN a chore. These need to be fixed before you add anymore light components to scene graph
Please select what you are reporting on:
Unreal Editor for Fortnite
What Type of Bug are you experiencing?
Devices
Steps to Reproduce
Place the input trigger device
Use the IsHeld function
Expected Result
The IsHeld function returns true when the button is held
Observed Result
It does nothing
Platform(s)
PC