Hello friends. It's me again with another problem.
I've noticed today, that my character's talking view doesn't match with his idle/walking view and when he is talking, he is "jumping" few pixels to the left. Is there any possibility to globally change the position of one of the views, or I need to recreate manually each of over the hundret of frames?
Thanks in advance
EDIT:
I made something like that in global always part of the script:
Code: ags
It's working, but to be perfect i should use "4.5" instead of "5", but then I have error that "Type mismatch: cannot convert 'int' to 'float'." Any ideas how to change that?
I've noticed today, that my character's talking view doesn't match with his idle/walking view and when he is talking, he is "jumping" few pixels to the left. Is there any possibility to globally change the position of one of the views, or I need to recreate manually each of over the hundret of frames?
Thanks in advance

EDIT:
I made something like that in global always part of the script:
if (cSmith.View == 1)
{
cSmith.Move(cSmith.x - 5, cSmith.y);
}
It's working, but to be perfect i should use "4.5" instead of "5", but then I have error that "Type mismatch: cannot convert 'int' to 'float'." Any ideas how to change that?