I was able to partially do this by doing the event "on collision with another object." For the action i did rotate clockwise 180 degrees. This worked however when the AI went to one side it would go upside down on its way to the next wall and then go back to normal when it collided with another wall and so on...
I want to be able to create the same effect as mobs in mario games such as goomba's who go back and forth when colliding with walls etc.
edit: also forgot to say that i use the bullet movement to move the AI.