Hey! I've recently been dabbling around with BYOND code, using the reference as a tool to work with, and I've been somewhat curious about a certain something.
Is there any difference in functionality between a variable defined as 'test_variable' and 'src.test_variable', assuming the variable was defined for the source? I'm aware that if you define a mob as M, that you can access the variables for M though the same process (M.test_variable), so I'm really wondering if src.* is simply a redundant function due to the source being a mob with that variable, or if it actually does make a difference in some way. Would it make any difference if the source was a datom?
If my question didn't make much sense, let me know, I'll post a snippet of code to explain my question a little better.
Feb 9 2012, 4:51 pm