edit this for your needs hope i helped :-)

Function pac_view()
{
while(1)
{
camera.x = put a number in here ;
camera.y = put a number in here ;
camera.z = put a number in here ;
wait(1);
}
}
var speed[3];
Action your_name
{
while(1)
{
speed.x = 0.5;
move_mode = ignore_Passable;
ent_move (speed.x, nullvector);
wait(1);
}
}

u'll need to edit this script so it can move like player_walk_fight :-)