The Dink Network

Reply to Local variable problem

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
August 6th 2009, 03:59 PM
wizardb.gif
Kyle
Peasant He/Him Belgium
 
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?