Object animation [SOLVED]

Started by simulacra, Thu 14/10/2004 21:25:14

Previous topic - Next topic

simulacra

Code: ags
SetObjectView(4,5);
ObjectOn(4);
AnimateObject (4, 0, 1, 1);


I want the object (4) to appear, then start animating a loop at a fast paced speed. But when I run this, the object appears but there is no animation. It's either stuck on the first frame or simply retains the object image I selected.

What to do?

BorisZ

Quote from: simulacra on Thu 14/10/2004 21:25:14
Code: ags
SetObjectView(4,5);
ObjectOn(4);
AnimateObject (4, 0, 1, 1);


I want the object (4) to appear, then start animating a loop at a fast paced speed. But when I run this, the object appears but there is no animation. It's either stuck on the first frame or simply retains the object image I selected.

What to do?

Where did you put this code? From what I heard, it looks like it is in repeadetly execute section, while it must be triggered with an event or so.

simulacra

#2
Ah, it loops and resets with each loop. Silly mistake.

SMF spam blocked by CleanTalk