Maybe missing semi-colon at the end?
// main script header
import function GoToCharacterEx(int charidwhogoes, int charidtogo, int direction, int xoffset, int yoffset, int NPCfacesplayer, int blocking);
The error message gives you the script line where the error occurs. Please post the entire error message and some script from around that line.
// main script header
import function GoToCharacterEx(int charidwhogoes, int charidtogo, int direction, int xoffset, int yoffset, int NPCfacesplayer, int blocking);
The error message gives you the script line where the error occurs. Please post the entire error message and some script from around that line.