Issue with .Num() function

Is there something I’ve missed which can explain why only 0 is being printed?

Declaring FString TArray

Printing value returned from .Num();

Value printed is 0 not the expected 1000

Do you have a member variable called Words by any chance?

Aha, I did from when I was trying to implement a list via .txt file in a previous side lesson.

I commented it out and game works as expected

Thanks

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms