void main() { int nHBCount = GetLocalInt(GetModule(),"HBCount"); nHBCount++; if(nHBCount == 30) { nHBCount = 0; location lPlayer; object oPC = GetFirstPC(); while(GetIsObjectValid(oPC)) { lPlayer = GetLocation(oPC); SetLocalInt(oPC,"BypassLocation",1); SetCampaignLocation("PlayerData","Location",lPlayer,oPC); SendMessageToPC(oPC,"Updating Player Location."); oPC = GetNextPC(); } } SetLocalInt(GetModule(),"HBCount",nHBCount); }