Defining a variable with the same name as an object's variable within a proc belonging to said object... and then trying to refer to it before the new definition... results in compiler error.
Code Snippet (if applicable) to Reproduce Problem:
mob
var
blah
proc
test()
world << blah // use of blah precedes its definition
var/blah // definition is here
Expected Results:
Before blah is defined, any reference to blah would refer to the object's variable. After blah is defined, any reference to blah would refer to the local variable.
Actual Results:
Compiler errors...
warning: blah: use of blah precedes its definition
warning: blah: definition is here
Does the problem occur:
Every time? Or how often? Yes.
In other games? Haven't tried.
In other user accounts? No clue.
On other computers? No clue.