Hi,
I loaded my game in AGS v2.7, but when I tried to test it I got a message:
Ã, 'There was an error compiling your script.
Ã, Ã, Variable 'Direction' is already defined'
The variable in question is in 'repeatedly_execute' section of the Global script:
int CharId, Direction, dx, dy;
It is the part of the script that deals with keyboard control, which I copied from Hollister Man's script I found in the 'Controlling movement with keyboard' thread.
Since I just copied it, I don't know how it really works. I checked the rest of my script and didn't find any other place where variable 'Direction' is defined.
I loaded my game in AGS v2.7, but when I tried to test it I got a message:
Ã, 'There was an error compiling your script.
Ã, Ã, Variable 'Direction' is already defined'
The variable in question is in 'repeatedly_execute' section of the Global script:
int CharId, Direction, dx, dy;
It is the part of the script that deals with keyboard control, which I copied from Hollister Man's script I found in the 'Controlling movement with keyboard' thread.
Since I just copied it, I don't know how it really works. I checked the rest of my script and didn't find any other place where variable 'Direction' is defined.