long story i have a variable called "DoOnce" that makes a chest only open once.
But thats not the point, the point is on every call of act the variable is checked. However i need it to be declared once and then not changed by the declaration of itself again.
So in other words i have an actor with
Int DoOnce = 0 ;
In it and then other things can change DoOnce but then when act is called again it returns to value of 0.
Any way to easily stop this or declaring a variable and leaving it empty? Thanks. :)