More questions :)
This seems like it should be a really simple task, but I can't quite get my head around it. I am shooting a bullet at the enemy (with platform behaviour) and on collision I am applying 2000 to Vector X (to simulate the enemy being bumped backwards). At first I found this wasn't working at all, but then I noticed that Max Speed was set to 35. Once I set the max speed to 350 the enemy would be bumped back a much better looking distance and continue on their path.
The problem is, I don't want my enemy at the max speed of 350 :)
If I try to set the speed to 350, change the vector x to 2000, then change back to 35, it all happens too fast and the enemy does not move. If I try to set some sort of wait event, this could have unpredictable results.
What would be a smart way of saying "Take the enemies max speed, change it to 350, apply a vector x, then when [?], change back to 35". The tricky part is the [?]. I don't quite know how to determine when to switch back to the max speed of 35. As I said, it seems simple but got confusing fast <img src="smileys/smiley12.gif" border="0" align="middle" />