Notifications
Clear all
[Closed] Static variables in MaxScript
Jun 17, 2018 6:12 am
is there a way to have static local variables that won’t lose their value every time the function that they are defined in, is called?
I have a very complicated script and need to keep count of the times a function has been called inside the said function.
because the function is in a rollout that is being constructed with the execute command, there might be a couple of the same function so keeping count in the function itself is more ideal to keep everything from bugs.