It causes them to literally turn around and go the other way. I never really used it much in BGII. If I remember right, the chance, the number of creatures affected and the duration are all dependent upon the level of the caster. As far as I know there is no downside.
------------------
Balance