# AI Time Is Paused

Grammar — AI time is paused
FlagsNative | Function

Returns true if the AI time is paused.

Returns — bool

native bool AITimeIsPaused();

Category: AI / MiscCampaign / Functions

# Examples

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:2143

        libNtve_gv__CineModeSavedSpeed = GameGetSpeedValue();
        GameSetSpeedValue(c_gameSpeedNormal);
        libNtve_gv__CineModeSavedAIPaused = AITimeIsPaused();
        AITimePause(true);
        GameSetSpeedLocked(true);

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:1827

        libNtve_gv__CineModeSavedSpeed = GameGetSpeedValue();
        GameSetSpeedValue(c_gameSpeedNormal);
        libNtve_gv__CineModeSavedAIPaused = AITimeIsPaused();
        AITimePause(true);
        GameSetSpeedLocked(true);

mods/novastoryassets.sc2modbase2.sc2maps/maps/campaign/nova/nova05.sc2map/MapScript.galaxy:4034

    }

    if ((AITimeIsPaused() == false)) {
        TriggerDebugOutput(1, StringExternal("Param/Value/288BBAD8"), true);
        libComC_gf_PauseAITimeCampaign(true);

mods/novastoryassets.sc2modbase2.sc2maps/maps/campaign/nova/nova05.sc2map/MapScript.galaxy:6797

        }

        if (!((AITimeIsPaused() == true))) {
            return false;
        }

mods/novastoryassets.sc2modbase2.sc2maps/maps/campaign/nova/nova05.sc2map/MapScript.galaxy:6863

        }

        if (!((AITimeIsPaused() == true))) {
            return false;
        }

mods/novastoryassets.sc2modbase2.sc2maps/maps/campaign/nova/nova05.sc2map/MapScript.galaxy:6917

        }

        if (!((AITimeIsPaused() == true))) {
            return false;
        }

mods/novastoryassets.sc2mod/base2.sc2maps/maps/campaign/nova/nova05.sc2mapMapScript.galaxy:4034

    }

    if ((AITimeIsPaused() == false)) {
        TriggerDebugOutput(1, StringExternal("Param/Value/288BBAD8"), true);
        libComC_gf_PauseAITimeCampaign(true);

mods/novastoryassets.sc2mod/base2.sc2maps/maps/campaign/nova/nova05.sc2mapMapScript.galaxy:6797

        }

        if (!((AITimeIsPaused() == true))) {
            return false;
        }

mods/novastoryassets.sc2mod/base2.sc2maps/maps/campaign/nova/nova05.sc2mapMapScript.galaxy:6863

        }

        if (!((AITimeIsPaused() == true))) {
            return false;
        }

mods/novastoryassets.sc2mod/base2.sc2maps/maps/campaign/nova/nova05.sc2mapMapScript.galaxy:6917

        }

        if (!((AITimeIsPaused() == true))) {
            return false;
        }