if its a straight coridor then its simple,
just get the unit to stand infront of the corridor and when he gets there have him activate a script,
[unit name]exec"gothru.sqs"
[u]gothru.sqs[/u]
_unit = _this select 0
_unit playmove"combatrunf"
~1
_unit playmove"combatrunf"
~1
_unit playmove"combatrunf"
~1
_unit playmove"combatrunf"
Repeat
_unit playmove"combatrunf"
~1
_unit playmove"combatrunf"
until he gets
thru to the other side
then put exit
that will force him to go.