Im trying to move an NPC (a Pok?mon NPC :D) using the bullet behaviour in different ways according to a random angle (0? or 180?).
If I call the function separately there is no problem.
But when I set a random time for call the function, the bullet behaviour that handles the 180? direction mess up and doesnt work.
Here is some pics:
- Here is the function working well on a first call:
<img src="http://i.imgur.com/8VaupOe.jpg" border="0" />
- And here is the pokemanz on his head after and going in the opposite direction. This is using a random-timed call:
<img src="http://i.imgur.com/ijpIX1O.jpg" border="0" />
I know that the problem is on the random time, because I try the same code using only the Fade Out Trigger and works well.
Finally here is my event sheet:
<img src="http://i.imgur.com/IkwaKnv.jpg" border="0" />
Any idea? Thanks in advance.