Reply to Local variable problem
If you don't have an account, just leave the password field blank.
So I was messing around trying to fix one of the incompatible dmods a friend of mine released a long time ago which doesn't work for 1.08 anymore. I found a strange thing while scripting, but my memory of 7-8 years ago isn't too great so it might always have been like this I guess.
I'm declaring a variable in an enemy's main procedure called &stun. However, I can't seem to access this variable in its hit procedure anymore. I could honestly swear it used to allow that. So, excluding the possibility I might be doing something horribly wrong and this was a (unintended?) change in 1.08, how can I pass multiple variables from my hit procedure to main and back again?
I'm declaring a variable in an enemy's main procedure called &stun. However, I can't seem to access this variable in its hit procedure anymore. I could honestly swear it used to allow that. So, excluding the possibility I might be doing something horribly wrong and this was a (unintended?) change in 1.08, how can I pass multiple variables from my hit procedure to main and back again?






