beginscript; label Start: label fmcam: if (OtherUnitInArea(INVISJ01, 9109, 4201, 100)) { // PausePlayer(); FreezePlayer(); // ChangeCamera(0x815,30,30); SetVar (0, GetTime()+25); TriggerMessage(0,0xffff); EndFrame(); goto TimeWait; } EndFrame(); goto fmcam; label TimeWait: // Wait 4 seconds if (GetVar(0) > GetTime()) { EndFrame(); goto TimeWait; } EndFrame(); //label fmcam3: // if (OtherUnitInArea(INVISJ01, 9109, 4201, 100)) // { ChangeCamera(0x814,30,30); SetVar (0, GetTime()+20); EndFrame(); // goto TimeWait2; // } EndFrame(); goto fmcam3; label TimeWait2: // Wait 4 seconds if (GetVar(0) > GetTime()) { EndFrame(); goto TimeWait2; } EndFrame(); label fmcam4: // if (OtherUnitInArea(INVISJ01, 9109, 4201, 100)) // { ChangeCamera(0x813,30,30); SetVar (0, GetTime()+20); EndFrame(); goto TimeWait3; // } EndFrame(); goto fmcam4; label TimeWait3: // Wait 4 seconds if (GetVar(0) > GetTime()) { EndFrame(); goto TimeWait3; } EndFrame(); label freeze: if (OtherUnitInArea(INVISJ01, 9109, 4201, 100)) { SetVar (0, GetTime()+50); EndFrame(); goto TimeWait4; } EndFrame(); goto freeze; label TimeWait4: if (GetVar(0) > GetTime()) { EndFrame(); goto TimeWait4; } EndFrame(); label fmcam2: { ChangeCamera(0x801,30,30); ResumePlayer(); EndFrame(); goto End; } label End: EndFrame(); goto End; endscript; $