Getting Null from Casted

Trying to pull the seconds from a timespan variable I have stored in the character data, however when I run it I get the error “Accessed None trying to read property HUD1”, going into debug I can see it’s reading HUD1 and it’s children. What’s going wrong?

Looks like the TimeCycle event is run in every tick. So, the HUD1 might not constructed yet on early execution. Use IsValid Exec to check the HUD1 should eliminate the errors.

1 Like

That did it! thank you so much!

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