Page 1 of 1

Conditional action question

PostPosted: Mon Nov 17, 2008 10:53 am
by scottieb
Hi I want to enable a certain directional velocity movement when two things occur at the same time. 1. when a key is pressed and 2. during a certain frame. I want to limit this event to those two conditions. any suggests on how I could do this.

Re: Conditional action question

PostPosted: Mon Nov 17, 2008 9:44 pm
by DarkParadox
Use Key down event and Animpos.

on key down:
Code: Select all
if(animpos == frame)
{
    actions here
}