Summary
FortCharacter.CrouchedEvent stops broadcasting if the player respawns while in the crouched state.
Please select what you are reporting on:
Verse
What Type of Bug are you experiencing?
Verse
Steps to Reproduce
- Create a verse code listening to the FortCharacter.CrouchedEvent
- Start the game
- Crouch (You should see a print log)
- While still in the crouched state, respawn
- Crouch again
Expected Result
After respawning we should still receive FortCharacter.CrouchedEvent
Observed Result
After respawning the FortCharacter.CrouchedEvent stop being broadcasted
Platform(s)
Windows 11
++Fortnite+Release-32.00-CL-37770125
Island Code
N/A
Additional Notes
Sample Code
using { /UnrealEngine.com/Temporary/Diagnostics }
using { /Fortnite.com/Characters }
using { /Fortnite.com/Devices }
using { /Verse.org/Simulation }
crouch := class(creative_device) {
OnBegin<override>()<suspends>:void = {
if (Player := GetPlayspace().GetPlayers()[0], FortCharacter := Player.GetFortCharacter[]) {
Print("Subscribing to FortCharacter.CrouchedEvent");
loop {
FortCharacter.CrouchedEvent().Await();
Print("CrouchedEvent");
};
}
}
};