Hi team,
I am now getting to grips with simple scripting. Wow the power underneath GE is really cool!
However, I have a little question. I am using the following code with a global variable called 'moveme' :
if (moveme==1)
{
y=y-4;
ChangeAnimation("ducky","Duck001","FORWARD");
}
'moveme' is set by a routine which checks if a key is held down.
The problem is that if the key is held down - no animation runs because it is always resetting, because the key is held.
Is there another way to achieve change animation in scripting please?
I could use a counter but that seems a bit lame in C. Any thoughts?
IPete2.