Interface (EM4)

Wir verwenden Cookies, um Inhalte und Anzeigen zu personalisieren, Dienste bereitzustellen und die Zugriffe auf unsere Website zu analysieren. Außerdem werden durch unsere Partner Informationen zu Ihrer Nutzung für soziale Medien, Werbung und Analysen erfasst. Weitere Informationen

  • Namensraum / Klasse "Interface"

    Aufzählung der OrderGroupIDs

    Quellcode

    1. enum OrderGroupID
    2. {
    3. GROUP_FIREDEPT,
    4. GROUP_POLICE,
    5. GROUP_AMBULANCE,
    6. GROUP_TEC,
    7. };



    Definierte Funktionen


    Quellcode

    1. namespace ScriptInterface
    2. {
    3. void CloseObjectives();
    4. void SetMission(const char* mission_);
    5. void DisableMap(bool sleep_ = true);
    6. void DisableRadar(bool sleep_ = true);
    7. void DisableNavigator(bool sleep_ = true);
    8. void DisableInfoBar(bool sleep_ = true);
    9. void DisableVehicleBrowser(bool sleep_ = true);
    10. void ShowMap();
    11. void HideMap();
    12. void ShowRadar();
    13. void OpenRadar();
    14. void HideRadar();
    15. void ShowNavigator();
    16. void OpenNavigator();
    17. void HideNavigator();
    18. void ShowInfoBar();
    19. void OpenInfoBar();
    20. void HideInfoBar();
    21. void ShowVehicleBrowser();
    22. void HideVehicleBrowser();
    23. void ShowBriefing();
    24. void HideBriefing();
    25. void ShowTips();
    26. void OpenTips();
    27. void HideTips();
    28. void ShowActionBar();
    29. void OpenActionBar();
    30. void HideActionBar();
    31. void ShowObjectives();
    32. void HideObjectives();
    33. void OpenObjectives();
    34. void EnableTutorialMode();
    35. void DisableTutorialMode();
    36. void ShowVisibleTutorialOverlay();
    37. void ShowInvisibleTutorialOverlay();
    38. void HideTutorialOverlay();
    39. void HideInterface();
    40. void ResumeFromHideInterface();
    41. void ShowTutorialMessage(const char *MessageID_, const char *VoiceMessageURL_, float y_ = -1.0f);
    42. bool IsTutorialMessageOpen();
    43. int ShowTutorialInstruction(const char *instructionID_, int soundRef = -1, float x_ = -1.0f, float y_ = -1.0f);
    44. void CloseTutorialInstruction(int soundRef=-1); // wird auch von ShowTutorialMessage() aufgerufen
    45. void ShowMainMenu();
    46. void ShowNotice(const char *textName_);
    47. void HideNotice();
    48. bool NoticeIsHidden();
    49. bool DidUserHitOK();
    50. void BlinkNavigatorOpenCloseButton(bool Blink_);
    51. void BlinkNavigatorObjectivesButton(bool Blink_);
    52. void BlinkObjectivesOpenCloseButton(bool Blink_);
    53. void BlinkNavigatorFireDepartmentButton(bool Blink_);
    54. void EnableNavigatorFireDepartmentButton(bool enable_);
    55. void BlinkNavigatorAmbulanceButton(bool Blink_);
    56. void EnableNavigatorAmbulanceButton(bool enable_);
    57. void BlinkSendVehicleButton(bool Blink_);
    58. void BlinkSendVehicleTargetButton(bool Blink_);
    59. void BlinkFireDepartmentVehicle(const char *VehicleName_, bool Blink_);
    60. void BlinkAmbulanceVehicle(const char *VehicleName_, bool Blink_);
    61. void BlinkCrewButton(const char *CrewName_, bool Blink_);
    62. bool IsNavigatorWindowOpen();
    63. bool IsObjectivesWindowOpen();
    64. bool IsFireDepartmentWindowOpen();
    65. bool IsAmbulanceWindowOpen();
    66. bool IsMessageTickerOpen();
    67. void SetMessageTickerSpeed(float speed_);
    68. bool IsFireDepartmentVehicleSelected(const char *VehicleName_);
    69. bool IsAmbulanceVehicleSelected(const char *VehicleName_);
    70. bool IsTargetOkButtonBlinking();
    71. void UnlockActionButton(int index_);
    72. void LockObjectivesWindow();
    73. void BlinkActionButton(int index_);
    74. void BlinkActionButton(const char *name_);
    75. void SetEnableActionButtonsBlinking(bool enable_);
    76. bool IsEquipmentMenuOpen();
    77. void BlinkEquipmentButton(int index_);
    78. void BlinkEquipmentButton(const char *name_);
    79. bool IsCurrentCommand(const char* name_);
    80. void SetCurrentCommand(const char* name_);
    81. void SetShowVehiclePageAfterOrder(bool enable_);
    82. bool IsVehicleOrdered(const char *name_);
    83. bool IsVehicleOrderedWithTarget(const char *name_);
    84. void SetVehicleBrowserAutohide(bool autohide_);
    85. void EnableOpenCloseBaseWindow();
    86. void ShowBriefing();
    87. void SetBaseWindowKeepOpen(bool keepOpen_);
    88. void UnlockObjectivesWindow();
    89. void UnlockExit();
    90. void BlinkPopupMenuCommand(const char *CommandName_, bool Blink_);
    91. int GetNumVehicleCrewMembersAdded();
    92. void CloseAllVehicleBrowsers();
    93. void GetMousePos(float &x_, float &y_);
    94. void HideMouseCursor(bool hide_); //Ab Version 1.3
    95. bool GetOrderTargetMode();
    96. void ShowMessageTickerTextForAll(const char *text_, float red_=1.0f, float green_=1.0f, float blue_=1.0f);
    97. void ShowMessageTickerTextForSinglePlayer(const GameObject* obj_, const char *text_, float red_=1.0f, float green_=1.0f, float blue_=1.0f);
    98. void SetRadarTexture(const char *filename_);
    99. };
    Alles anzeigen

    113 mal gelesen