Selecting random movements within a behaviour
Hi, Its been a long time since I last posted on these forums (the old forums) 8 years infact.
I'm getting stuck with trying to select random movements,
I have an enemy which is created outside the frame. The enemy selects a movement out of 3 possible (all path) movements. Then carries out that movement onto the screen , eg 1 up , 2 down , 3 straight. However, because you cannot select the movement name in the enemy behaviour event editor, it seems to ignore the event. For information, when I select next movement it seems to work.
Every 3 seconds > Create enemy at position (x,y) + Set counter to random (3)
When enemy is outside frame + Counter = 1 + Event runs only when event loops > Select movement 3 (want to select movement name here - movement number doesn't seem to work) + Start
I've tried searching for a relevant post but could only find this slightly similar,
Could you please suggest a way to achieve this?