Page 1 of 1

PlayAnim - how to use it ?

Posted: Sun Jun 12, 2011 2:38 pm
by pecaN
hi people, can anybody please give me an example of how to use this this command ???

I have got this code :

@BRUSH 1,"brush.iff"
Createanim(1,1,70,70,5,5)
PlayAnim(1)

This creates an anim with 5 frames from a brush 1. that works but when it should play it, an error message "not enough arguments in the PlayAnim command" appears! I tried to add all other parameters from the docs (although not needed) but still the same! thx pecaN

Re: PlayAnim - how to use it ?

Posted: Sun Jun 12, 2011 7:22 pm
by djrikki
Hi,

Without turning my Amiga on (I am just about to leave the house) check the documenation. I am not familiar with the CreateAnim command, but I suspect some of the arguments might have to given as a table - aka in curly brackets.