Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: PsychicHeart on Wed 12/04/2006 09:15:24

Title: Character.Animate parse error (SOLVED)
Post by: PsychicHeart on Wed 12/04/2006 09:15:24
Okay,
when i animate my char. i get the message
"Parse error in expr near '3'.

What i have in my animation script is:
function character0_a() {
  // script for Character 0 (ROGER): Look at character
cEgo.Animate(8 loop, 3 delay) ;


If anyone could help me out of this dilemma, it would be appreciated.
Cheers,
FB.
                 


Title: Re: error message
Post by: Gilbert on Wed 12/04/2006 09:21:04
function character0_a() {
Ã,  // script for Character 0 (ROGER): Look at character
cEgo.Animate(8 loop, 3 delay) ;


That is:
function character0_a() {
Ã,  // script for Character 0 (ROGER): Look at character
cEgo.Animate(8, 3) ;

Title: Re: error message
Post by: PsychicHeart on Wed 12/04/2006 09:21:40
oh, thanks Gil. that solved it!