Sounds like you have one of the on module load switches turned on.
from "x2_inc_switches"
// * AI: Activating the switch below will make the creaures using the WalkWaypoint function
// * able to walk across areas
// SetModuleSwitch (MODULE_SWITCH_ENABLE_CROSSAREA_WALKWAYPOINTS, TRUE);
Make sure it is false if you do not want monsters to follow players through transitions.
As despite what the function says, it is not limited to just waypoints, but allows hostiles to transition in pursuit.
This is likely if you are using X2_mod_def_load.
Edit*
Another thing to check would be to make sure your Onheartbeat is not using the command: GetNearestEnemy, always make sure you use NearestPercievedEnemy (or its variants: seen or heard.)
Modifié par Xovian, 03 mars 2011 - 07:20 .