Login Page - Create Account

Support Board


Date/Time: Sun, 05 May 2024 12:24:42 +0000



Post From: Referencing to Persistent Variable by name NOT working *URGENT*

[2016-02-22 11:20:11]
User972044 - Posts: 154
And it does NOT even work when I don't use the variable_name like MyCounter to reference the persistent variables. When I used sc.PersistVars->Integers[0] to directly manipulate the persistent variables, it gave me the same gibberish random number starting at 175XXX and it was NEVER initially set to 0.

So it is not even a reference pointer issue. Somehow the persistent variable is just NOT set to zero as stated in the documentation. And when you try to set to 0 in if (sc.Index == 0){} block it doesn't even work. Please explain and rectify if necessary.


Thank you.
Date Time Of Last Edit: 2016-02-22 11:24:03