Shooting in different directions

How can I make my actor shoot in 2 different directions. I've looked at other posts but they don't make sense to me. Can anyone explain in simpler terms???
Game Editor discussion board
http://game-editor.com/forum/
xvelocity=5*dir; // 5 is the speed you want, dir is the direction variable