¨Wait for frame action¨ problem

Non-platform specific questions.

¨Wait for frame action¨ problem

Postby motorollin » Mon Aug 13, 2007 8:21 am

I have created a key down event for any key which triggers a script. I want it to wait for frame action. In the Wait For Frame dialogue I set the animation to ¨any animation¨ and try entering 10 as the frame number. I get an error ¨Frame sequence must contain only numbers and ';'¨. I tried entering ¨10;20;¨ but got the same error. Can anyone let me know the correct syntax?
motorollin
 
Posts: 54
Joined: Sun Aug 12, 2007 8:05 am
Score: 1 Give a positive score

Postby Zehper48 » Mon Aug 13, 2007 8:28 am

what ever frame you want it to wait for say 10 type "10;" then it should work
User avatar
Zehper48
 
Posts: 241
Joined: Sun Jun 11, 2006 1:34 am
Location: Advanced Noob
Score: 4 Give a positive score

Postby motorollin » Mon Aug 13, 2007 8:29 am

Oh I figured it out. My actor only has 1 frame (it's a vector game so the sprite moves but is not animated). I created another actor out of view with 50 frames and used that to sync the Wait For Frame and it works now.
motorollin
 
Posts: 54
Joined: Sun Aug 12, 2007 8:05 am
Score: 1 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron