Changing idle animations

Started by Glenjamin, Mon 10/08/2015 20:09:53

Previous topic - Next topic

Glenjamin

In the game i'm making, the player character keeps doing it's idle animation during inappropriate times like cutscenes. How can I change/remove the animations?

Khris

Please check the manual before opening a thread.

QuoteCharacter.SetIdleView(int idleview, int delay)
...
Pass IDLEVIEW as -1 to disable the idle view completely.

Slasher

Hi Khris,

whenever i have passed -1 for the idle view it displays walk view...

is it me or what?


Khris

Apparently it's you, because it works fine for me.

Slasher

Code: ags

cJones.SetIdleView(10, -1);

10 is the idle view and above produces character constantly doing walk animation without actually walking,

ags 321

Snarky

Compare this...

QuoteCharacter.SetIdleView(int idleview, int delay)
...
Pass IDLEVIEW as -1 to disable the idle view completely.

to this...

Code: ags

cJones.SetIdleView(10, -1);


... until you spot your mistake.

Slasher

Snarky

Mistake seen (laugh)

but my example does do as i said (nod)

cheers ;)




SMF spam blocked by CleanTalk