You could implement any one of the pathfinding algorithms on this site, or if the obstacle is simple, you could implement something similar to mrpye´s "Collision Avoidance V2", in which he basically used a thick linepick to "see" what is ahead of the characters.
Path finding Ai
Blitz3D Forums/Blitz3D Beginners Area/Path finding AiThe forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.