Please select what you are reporting on:
Creative
What Type of Bug are you experiencing?
Character
Summary
I have the following statement that does not work:
OnBegin():void=
AllPlayers := GetPlayspace().GetPlayers()
if(Player1Stasis := AllPlayers[0].GetFortCharacter):
Player1Stasis.PutInStasis(stasis_args{})
it does not work, but if I add a Sleep(0.0) before the statement it does work, is this a defect?
OnBegin():void=
Sleep(0.0)
AllPlayers := GetPlayspace().GetPlayers()
if(Player1Stasis := AllPlayers[0].GetFortCharacter):
Player1Stasis.PutInStasis(stasis_args{})
Steps to Reproduce
above
Expected Result
your player goes into stasis on the game start
Observed Result
it does not work unless you add a sleep with 0 value
Platform(s)
UEFN
2 posts - 2 participants