Пример #1
0
 public override void DrawOnEveryFrame()
 {
     if (IsActivated && !IsAccomplished)
     {
         // Draw marker
         if (IsDrawMarker && MissionMarker.IsPlayerInDrawDistance)
         {
             MissionMarker.DrawThisFrame();
         }
         // Draw hint
         if (Location.IsPlayerInside)
         {
             Screen.DisplayHelpTextThisFrame(HelpText);
         }
     }
 }
Пример #2
0
 public override void DrawOnEveryFrame()
 {
     if (IsActivated && !IsAccomplished)
     {
         // Draw marker
         if (IsDrawMarker && CaptureLocation.IsPlayerInDrawDistance)
         {
             MissionMarker.DrawThisFrame();
         }
         // Draw hint
         if (!RestrictLocation.IsPlayerInside)
         {
             Screen.DisplayHelpTextThisFrame("请立即返回任务场地!");
         }
         else if (CaptureLocation.IsPlayerInside)
         {
             Screen.DisplayHelpTextThisFrame(SubHelpText);
         }
     }
 }