public override void DrawOnEveryFrame() { if (IsActivated && !IsAccomplished) { // Draw marker if (IsDrawMarker && MissionMarker.IsPlayerInDrawDistance) { MissionMarker.DrawThisFrame(); } // Draw hint if (Location.IsPlayerInside) { Screen.DisplayHelpTextThisFrame(HelpText); } } }
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); } } }