# Sine

Grammar — Sin(a)
FlagsNative | Function

Returns the sine of an angle. The angle should be specified in degrees.

# Arguments

  • fixed — Angle

Returns — fixed

native fixed Sin(fixed degrees);

Category: Math / Trigonometry

# Examples

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:4151

    }

    UIDisplayMessage(PlayerGroupAll(), c_messageAreaSubtitle, (StringExternal("Param/Value/797FA206") + FixedToText(Sin(180.0), 2)));
    UIDisplayMessage(PlayerGroupAll(), c_messageAreaSubtitle, (StringExternal("Param/Value/4D1A6221") + FixedToText(Sin(90.0), 2)));
    UIDisplayMessage(PlayerGroupAll(), c_messageAreaSubtitle, (StringExternal("Param/Value/B772DDA5") + FixedToText(Sin(gv_c_Pai), 2)));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:4152


    UIDisplayMessage(PlayerGroupAll(), c_messageAreaSubtitle, (StringExternal("Param/Value/797FA206") + FixedToText(Sin(180.0), 2)));
    UIDisplayMessage(PlayerGroupAll(), c_messageAreaSubtitle, (StringExternal("Param/Value/4D1A6221") + FixedToText(Sin(90.0), 2)));
    UIDisplayMessage(PlayerGroupAll(), c_messageAreaSubtitle, (StringExternal("Param/Value/B772DDA5") + FixedToText(Sin(gv_c_Pai), 2)));
    return true;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:4153

    UIDisplayMessage(PlayerGroupAll(), c_messageAreaSubtitle, (StringExternal("Param/Value/797FA206") + FixedToText(Sin(180.0), 2)));
    UIDisplayMessage(PlayerGroupAll(), c_messageAreaSubtitle, (StringExternal("Param/Value/4D1A6221") + FixedToText(Sin(90.0), 2)));
    UIDisplayMessage(PlayerGroupAll(), c_messageAreaSubtitle, (StringExternal("Param/Value/B772DDA5") + FixedToText(Sin(gv_c_Pai), 2)));
    return true;
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:7032

        }
        lv_x += (lv_speed * 0.0625);
        lv_y = (lv_yCoe * Sin(((lv_xCoe * lv_x) - lv_trigAngleStart)));
        lv_alpha = AngleBetweenPoints(Point(0.0, 0.0), Point(lv_x, lv_y));
        lv_distance = DistanceBetweenPoints(Point(0.0, 0.0), Point(lv_x, lv_y));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:7035

        lv_alpha = AngleBetweenPoints(Point(0.0, 0.0), Point(lv_x, lv_y));
        lv_distance = DistanceBetweenPoints(Point(0.0, 0.0), Point(lv_x, lv_y));
        lv_posTarget = Point(((lv_distance * Cos((lv_alpha + lv_angle))) + PointGetX(lv_posSpawn)), ((lv_distance * Sin((lv_alpha + lv_angle))) + PointGetY(lv_posSpawn)));
        libNtve_gf_MakeUnitFacePoint(lv_plane, lv_posTarget, 0.0625);
        UnitSetPosition(lv_plane, lv_posTarget, true);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:2361

    lv_di = FixedToInt((lv_d / 5.0));
    lv_x = (PointGetX(lv_a) + (Cos(lv_facing) * 5.0));
    lv_y = (PointGetY(lv_a) + (Sin(lv_facing) * 5.0));
    gv_soundRegion = RegionCircle(Point(lv_x, lv_y), 1.0);
    auto04D15821_ae = lv_di;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:2367

    for ( ; ( (auto04D15821_ai >= 0 && lv_i <= auto04D15821_ae) || (auto04D15821_ai < 0 && lv_i >= auto04D15821_ae) ) ; lv_i += auto04D15821_ai ) {
        lv_x = (PointGetX(lv_a) + (Cos(lv_facing) * (IntToFixed(lv_i) * 5.0)));
        lv_y = (PointGetY(lv_a) + (Sin(lv_facing) * (IntToFixed(lv_i) * 5.0)));
        RegionAddCircle(gv_soundRegion, true, Point(lv_x, lv_y), 3.0);
    }

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2mapMapScript.galaxy:4151

    }

    UIDisplayMessage(PlayerGroupAll(), c_messageAreaSubtitle, (StringExternal("Param/Value/797FA206") + FixedToText(Sin(180.0), 2)));
    UIDisplayMessage(PlayerGroupAll(), c_messageAreaSubtitle, (StringExternal("Param/Value/4D1A6221") + FixedToText(Sin(90.0), 2)));
    UIDisplayMessage(PlayerGroupAll(), c_messageAreaSubtitle, (StringExternal("Param/Value/B772DDA5") + FixedToText(Sin(gv_c_Pai), 2)));

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2mapMapScript.galaxy:4152


    UIDisplayMessage(PlayerGroupAll(), c_messageAreaSubtitle, (StringExternal("Param/Value/797FA206") + FixedToText(Sin(180.0), 2)));
    UIDisplayMessage(PlayerGroupAll(), c_messageAreaSubtitle, (StringExternal("Param/Value/4D1A6221") + FixedToText(Sin(90.0), 2)));
    UIDisplayMessage(PlayerGroupAll(), c_messageAreaSubtitle, (StringExternal("Param/Value/B772DDA5") + FixedToText(Sin(gv_c_Pai), 2)));
    return true;

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2mapMapScript.galaxy:4153

    UIDisplayMessage(PlayerGroupAll(), c_messageAreaSubtitle, (StringExternal("Param/Value/797FA206") + FixedToText(Sin(180.0), 2)));
    UIDisplayMessage(PlayerGroupAll(), c_messageAreaSubtitle, (StringExternal("Param/Value/4D1A6221") + FixedToText(Sin(90.0), 2)));
    UIDisplayMessage(PlayerGroupAll(), c_messageAreaSubtitle, (StringExternal("Param/Value/B772DDA5") + FixedToText(Sin(gv_c_Pai), 2)));
    return true;
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2mapMapScript.galaxy:7032

        }
        lv_x += (lv_speed * 0.0625);
        lv_y = (lv_yCoe * Sin(((lv_xCoe * lv_x) - lv_trigAngleStart)));
        lv_alpha = AngleBetweenPoints(Point(0.0, 0.0), Point(lv_x, lv_y));
        lv_distance = DistanceBetweenPoints(Point(0.0, 0.0), Point(lv_x, lv_y));

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2mapMapScript.galaxy:7035

        lv_alpha = AngleBetweenPoints(Point(0.0, 0.0), Point(lv_x, lv_y));
        lv_distance = DistanceBetweenPoints(Point(0.0, 0.0), Point(lv_x, lv_y));
        lv_posTarget = Point(((lv_distance * Cos((lv_alpha + lv_angle))) + PointGetX(lv_posSpawn)), ((lv_distance * Sin((lv_alpha + lv_angle))) + PointGetY(lv_posSpawn)));
        libNtve_gf_MakeUnitFacePoint(lv_plane, lv_posTarget, 0.0625);
        UnitSetPosition(lv_plane, lv_posTarget, true);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus02.sc2mapMapScript.galaxy:2361

    lv_di = FixedToInt((lv_d / 5.0));
    lv_x = (PointGetX(lv_a) + (Cos(lv_facing) * 5.0));
    lv_y = (PointGetY(lv_a) + (Sin(lv_facing) * 5.0));
    gv_soundRegion = RegionCircle(Point(lv_x, lv_y), 1.0);
    auto04D15821_ae = lv_di;

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus02.sc2mapMapScript.galaxy:2367

    for ( ; ( (auto04D15821_ai >= 0 && lv_i <= auto04D15821_ae) || (auto04D15821_ai < 0 && lv_i >= auto04D15821_ae) ) ; lv_i += auto04D15821_ai ) {
        lv_x = (PointGetX(lv_a) + (Cos(lv_facing) * (IntToFixed(lv_i) * 5.0)));
        lv_y = (PointGetY(lv_a) + (Sin(lv_facing) * (IntToFixed(lv_i) * 5.0)));
        RegionAddCircle(gv_soundRegion, true, Point(lv_x, lv_y), 3.0);
    }

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zhybrid03.sc2map/MapScript.galaxy:1856

    Wait(0.0625, c_timeGame);
    lv_x = (PointGetX(lv_a) + (Cos(lv_facing) * 5.0));
    lv_y = (PointGetY(lv_a) + (Sin(lv_facing) * 5.0));
    gv_kerriganSoundRegion = RegionCircle(Point(lv_x, lv_y), 1.0);
    lv_di = FixedToInt((lv_d / 5.0));

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zhybrid03.sc2map/MapScript.galaxy:1863

    for ( ; ( (autoA1C900F0_ai >= 0 && lv_i <= autoA1C900F0_ae) || (autoA1C900F0_ai < 0 && lv_i >= autoA1C900F0_ae) ) ; lv_i += autoA1C900F0_ai ) {
        lv_x = (PointGetX(lv_a) + (Cos(lv_facing) * (IntToFixed(lv_i) * 5.0)));
        lv_y = (PointGetY(lv_a) + (Sin(lv_facing) * (IntToFixed(lv_i) * 5.0)));
        RegionAddCircle(gv_kerriganSoundRegion, true, Point(lv_x, lv_y), 3.0);
    }

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zhybrid03.sc2map/MapScript.galaxy:1922

    Wait(0.0625, c_timeGame);
    lv_x = (PointGetX(lv_a) + (Cos(lv_facing) * 5.0));
    lv_y = (PointGetY(lv_a) + (Sin(lv_facing) * 5.0));
    gv_narudSoundRegion = RegionCircle(Point(lv_x, lv_y), 1.0);
    lv_di = FixedToInt((lv_d / 5.0));

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zhybrid03.sc2map/MapScript.galaxy:1929

    for ( ; ( (auto053EBF50_ai >= 0 && lv_i <= auto053EBF50_ae) || (auto053EBF50_ai < 0 && lv_i >= auto053EBF50_ae) ) ; lv_i += auto053EBF50_ai ) {
        lv_x = (PointGetX(lv_a) + (Cos(lv_facing) * (IntToFixed(lv_i) * 5.0)));
        lv_y = (PointGetY(lv_a) + (Sin(lv_facing) * (IntToFixed(lv_i) * 5.0)));
        RegionAddCircle(gv_narudSoundRegion, true, Point(lv_x, lv_y), 3.0);
    }

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zhybrid03.sc2mapMapScript.galaxy:1856

    Wait(0.0625, c_timeGame);
    lv_x = (PointGetX(lv_a) + (Cos(lv_facing) * 5.0));
    lv_y = (PointGetY(lv_a) + (Sin(lv_facing) * 5.0));
    gv_kerriganSoundRegion = RegionCircle(Point(lv_x, lv_y), 1.0);
    lv_di = FixedToInt((lv_d / 5.0));

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zhybrid03.sc2mapMapScript.galaxy:1863

    for ( ; ( (autoA1C900F0_ai >= 0 && lv_i <= autoA1C900F0_ae) || (autoA1C900F0_ai < 0 && lv_i >= autoA1C900F0_ae) ) ; lv_i += autoA1C900F0_ai ) {
        lv_x = (PointGetX(lv_a) + (Cos(lv_facing) * (IntToFixed(lv_i) * 5.0)));
        lv_y = (PointGetY(lv_a) + (Sin(lv_facing) * (IntToFixed(lv_i) * 5.0)));
        RegionAddCircle(gv_kerriganSoundRegion, true, Point(lv_x, lv_y), 3.0);
    }

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zhybrid03.sc2mapMapScript.galaxy:1922

    Wait(0.0625, c_timeGame);
    lv_x = (PointGetX(lv_a) + (Cos(lv_facing) * 5.0));
    lv_y = (PointGetY(lv_a) + (Sin(lv_facing) * 5.0));
    gv_narudSoundRegion = RegionCircle(Point(lv_x, lv_y), 1.0);
    lv_di = FixedToInt((lv_d / 5.0));

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zhybrid03.sc2mapMapScript.galaxy:1929

    for ( ; ( (auto053EBF50_ai >= 0 && lv_i <= auto053EBF50_ae) || (auto053EBF50_ai < 0 && lv_i >= auto053EBF50_ae) ) ; lv_i += auto053EBF50_ai ) {
        lv_x = (PointGetX(lv_a) + (Cos(lv_facing) * (IntToFixed(lv_i) * 5.0)));
        lv_y = (PointGetY(lv_a) + (Sin(lv_facing) * (IntToFixed(lv_i) * 5.0)));
        RegionAddCircle(gv_narudSoundRegion, true, Point(lv_x, lv_y), 3.0);
    }

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/sc2epilogue02.sc2map/MapScript.galaxy:3843

    lv_di = FixedToInt((lv_d / 5.0));
    lv_x = (PointGetX(lv_a) + (Cos(lv_facing) * 5.0));
    lv_y = (PointGetY(lv_a) + (Sin(lv_facing) * 5.0));
    gv_soundRegion = RegionCircle(Point(lv_x, lv_y), 1.0);
    auto6B813145_ae = lv_di;

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/sc2epilogue02.sc2map/MapScript.galaxy:3849

    for ( ; ( (auto6B813145_ai >= 0 && lv_i <= auto6B813145_ae) || (auto6B813145_ai < 0 && lv_i >= auto6B813145_ae) ) ; lv_i += auto6B813145_ai ) {
        lv_x = (PointGetX(lv_a) + (Cos(lv_facing) * (IntToFixed(lv_i) * 5.0)));
        lv_y = (PointGetY(lv_a) + (Sin(lv_facing) * (IntToFixed(lv_i) * 5.0)));
        RegionAddCircle(gv_soundRegion, true, Point(lv_x, lv_y), 3.0);
    }

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/sc2epilogue03.sc2map/MapScript.galaxy:561

    // Implementation
    lv_normalizedCurrentAngle = gf_NormalizeVoidCrystalAngle(lp_index, lp_currentAngle);
    return ((gv_voidCrystals[lp_index].lv_majorRadius * gv_voidCrystals[lp_index].lv_minorRadius) / SquareRoot((Pow((gv_voidCrystals[lp_index].lv_minorRadius * Cos(lv_normalizedCurrentAngle)), 2.0) + Pow((gv_voidCrystals[lp_index].lv_majorRadius * Sin(lv_normalizedCurrentAngle)), 2.0))));
}

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/sc2epilogue03.sc2map/MapScript.galaxy:2116

        lv_sideC = DistanceBetweenPoints(gv_voidCrystals[lv_index].lv_center, gv_voidCrystals[lv_index].lv_zenith);
        lv_angleB = ACos((((lv_sideA*lv_sideA)+(lv_sideC*lv_sideC)-(lv_sideB*lv_sideB))/(2*lv_sideA*lv_sideC)));
        gv_voidCrystals[lv_index].lv_minorRadius = (((lv_sideA * lv_sideC) * Sin(lv_angleB)) / SquareRoot((Pow(lv_sideC, 2.0) - Pow((lv_sideA * Cos(lv_angleB)), 2.0))));
        if ((gv_voidCrystals[lv_index].lv_rotatesCounterClockwise == true)) {
            auto0413FD7D_ae = (360.0 + gv_voidCrystals[lv_index].lv_rotation);

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue02.sc2mapMapScript.galaxy:3843

    lv_di = FixedToInt((lv_d / 5.0));
    lv_x = (PointGetX(lv_a) + (Cos(lv_facing) * 5.0));
    lv_y = (PointGetY(lv_a) + (Sin(lv_facing) * 5.0));
    gv_soundRegion = RegionCircle(Point(lv_x, lv_y), 1.0);
    auto6B813145_ae = lv_di;

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue02.sc2mapMapScript.galaxy:3849

    for ( ; ( (auto6B813145_ai >= 0 && lv_i <= auto6B813145_ae) || (auto6B813145_ai < 0 && lv_i >= auto6B813145_ae) ) ; lv_i += auto6B813145_ai ) {
        lv_x = (PointGetX(lv_a) + (Cos(lv_facing) * (IntToFixed(lv_i) * 5.0)));
        lv_y = (PointGetY(lv_a) + (Sin(lv_facing) * (IntToFixed(lv_i) * 5.0)));
        RegionAddCircle(gv_soundRegion, true, Point(lv_x, lv_y), 3.0);
    }

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue03.sc2mapMapScript.galaxy:561

    // Implementation
    lv_normalizedCurrentAngle = gf_NormalizeVoidCrystalAngle(lp_index, lp_currentAngle);
    return ((gv_voidCrystals[lp_index].lv_majorRadius * gv_voidCrystals[lp_index].lv_minorRadius) / SquareRoot((Pow((gv_voidCrystals[lp_index].lv_minorRadius * Cos(lv_normalizedCurrentAngle)), 2.0) + Pow((gv_voidCrystals[lp_index].lv_majorRadius * Sin(lv_normalizedCurrentAngle)), 2.0))));
}

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue03.sc2mapMapScript.galaxy:2116

        lv_sideC = DistanceBetweenPoints(gv_voidCrystals[lv_index].lv_center, gv_voidCrystals[lv_index].lv_zenith);
        lv_angleB = ACos((((lv_sideA*lv_sideA)+(lv_sideC*lv_sideC)-(lv_sideB*lv_sideB))/(2*lv_sideA*lv_sideC)));
        gv_voidCrystals[lv_index].lv_minorRadius = (((lv_sideA * lv_sideC) * Sin(lv_angleB)) / SquareRoot((Pow(lv_sideC, 2.0) - Pow((lv_sideA * Cos(lv_angleB)), 2.0))));
        if ((gv_voidCrystals[lv_index].lv_rotatesCounterClockwise == true)) {
            auto0413FD7D_ae = (360.0 + gv_voidCrystals[lv_index].lv_rotation);

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:4833

    lv_cameraPosition[0] = PointGetX(CameraGetTarget(1));
    lv_cameraPosition[1] = (PointGetY(CameraGetTarget(1))-(Cos(CameraGetPitch(1))*CameraGetDistance(1)));
    lv_cameraPosition[2] = (WorldHeight(c_heightMapGround, CameraGetTarget(1))+(Sin(CameraGetPitch(1))*CameraGetDistance(1)));
    lv_effectPosition[0] = PointGetX(EventPlayerEffectUsedPoint(c_effectLocationTargetPoint));
    lv_effectPosition[1] = PointGetY(EventPlayerEffectUsedPoint(c_effectLocationTargetPoint));

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:5976

    lv_r = 0.0;
    for ( ; ( (auto28C26F1E_ai >= 0 && lv_r <= auto28C26F1E_ae) || (auto28C26F1E_ai < 0 && lv_r >= auto28C26F1E_ae) ) ; lv_r += auto28C26F1E_ai ) {
        lv_xPartial = (Sin(lv_r) * lv_xDistance);
        lv_yPartial = (Sin(lv_r) * lv_yDistance);
        lv_zPartial = (Cos(lv_r) * lv_zTotal);

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:5977

    for ( ; ( (auto28C26F1E_ai >= 0 && lv_r <= auto28C26F1E_ae) || (auto28C26F1E_ai < 0 && lv_r >= auto28C26F1E_ae) ) ; lv_r += auto28C26F1E_ai ) {
        lv_xPartial = (Sin(lv_r) * lv_xDistance);
        lv_yPartial = (Sin(lv_r) * lv_yDistance);
        lv_zPartial = (Cos(lv_r) * lv_zTotal);
        UnitSetPosition(lv_kerriganStrikeAmon, Point((PointGetX(UnitGetPosition(lv_kerriganOriginalUnit)) + lv_xPartial), (PointGetY(UnitGetPosition(lv_kerriganOriginalUnit)) + lv_yPartial)), true);

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:6004

    lv_r = 90.0;
    for ( ; ( (auto49FA58AE_ai >= 0 && lv_r <= auto49FA58AE_ae) || (auto49FA58AE_ai < 0 && lv_r >= auto49FA58AE_ae) ) ; lv_r += auto49FA58AE_ai ) {
        lv_xPartial = (Sin(lv_r) * lv_xDistance);
        lv_yPartial = (Sin(lv_r) * lv_yDistance);
        lv_zPartial = (Cos(lv_r) * lv_zTotal);

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:6005

    for ( ; ( (auto49FA58AE_ai >= 0 && lv_r <= auto49FA58AE_ae) || (auto49FA58AE_ai < 0 && lv_r >= auto49FA58AE_ae) ) ; lv_r += auto49FA58AE_ai ) {
        lv_xPartial = (Sin(lv_r) * lv_xDistance);
        lv_yPartial = (Sin(lv_r) * lv_yDistance);
        lv_zPartial = (Cos(lv_r) * lv_zTotal);
        UnitSetPosition(lv_kerriganStrikeAmon, Point((PointGetX(UnitGetPosition(lv_kerriganOriginalUnit)) + lv_xPartial), (PointGetY(UnitGetPosition(lv_kerriganOriginalUnit)) + lv_yPartial)), true);

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

    // Automatic Variable Declarations
    // Implementation
    ActorSend(lp_model, libNtve_gf_SetRotation(Cos(lp_angle), Sin(lp_angle), 0, 0, 0, 1.0));
}

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

    // Automatic Variable Declarations
    // Implementation
    ActorSend(lp_model, libNtve_gf_SetRotation(Cos(lp_angle), Sin(lp_angle), 0, 0, 0, 1.0));
}

mods/heroesbrawlmods/brawlmapmods/coop/pvebrawlmod.stormmodbase.stormdata/LibPVEB.galaxy:1506

        }
        lv_angelUnit = AngleBetweenPoints(lv_ptPre, lv_ptUnit);
        lv_offset = AbsF((lv_distanceUnitPre * Sin((lv_angelUnit - lv_angelLane))));
        if ((lv_offset >= libPVEB_gv_pvEWaveLeashDistance_On_C)) {
            lv_ptAnchor = PointWithOffsetPolar(lv_ptPre, AbsF((lv_distanceUnitPre * Cos((lv_angelUnit - lv_angelLane)))), lv_angelLane);

mods/heroesbrawlmods/brawlmapmods/coop/pvemod.stormmodbase.stormdata/LibPVEM.galaxy:177

        }
        lv_angelUnit = AngleBetweenPoints(lv_ptPre, lv_ptUnit);
        lv_offset = AbsF((lv_distanceUnitPre * Sin((lv_angelUnit - lv_angelLane))));
        if ((lv_offset >= libPVEM_gv_pvEAttackWaveLeashDistance_On_C)) {
            lv_ptAnchor = PointWithOffsetPolar(lv_ptPre, AbsF((lv_distanceUnitPre * Cos((lv_angelUnit - lv_angelLane)))), lv_angelLane);

mods/novastoryassets.sc2modbase.sc2maps/maps/campaign/nova/nova01.sc2map/MapScript.galaxy:1648

    if ((lp_side == ge_PRESET_LeftRight_Left)) {
        if (((lv_currentRadius > 270.0) || (lv_currentRadius < 140.0))) {
            UnitIssueOrder(gv_warhawk, OrderTargetingPoint(AbilityCommand("move", 0), PointWithOffsetPolar(lv_midpoint, (lv_distance - (2.0 * Sin((lv_currentRadius + 30.0)))), (lv_currentRadius + 30.0))), c_orderQueueReplace);
            UnitSetHeight(gv_warhawk, ((Sin((lv_currentRadius + 30.0))*2.0) + 1.5), 0.5);
        }

mods/novastoryassets.sc2modbase.sc2maps/maps/campaign/nova/nova01.sc2map/MapScript.galaxy:1649

        if (((lv_currentRadius > 270.0) || (lv_currentRadius < 140.0))) {
            UnitIssueOrder(gv_warhawk, OrderTargetingPoint(AbilityCommand("move", 0), PointWithOffsetPolar(lv_midpoint, (lv_distance - (2.0 * Sin((lv_currentRadius + 30.0)))), (lv_currentRadius + 30.0))), c_orderQueueReplace);
            UnitSetHeight(gv_warhawk, ((Sin((lv_currentRadius + 30.0))*2.0) + 1.5), 0.5);
        }
        else {

mods/novastoryassets.sc2modbase.sc2maps/maps/campaign/nova/nova01.sc2map/MapScript.galaxy:1659

    else {
        if ((lv_currentRadius > 40.0)) {
            UnitIssueOrder(gv_warhawk, OrderTargetingPoint(AbilityCommand("move", 0), PointWithOffsetPolar(lv_midpoint, (lv_distance - (2.0 * Sin((lv_currentRadius - 30.0)))), (lv_currentRadius - 30.0))), c_orderQueueReplace);
            UnitSetHeight(gv_warhawk, ((Sin((lv_currentRadius - 30.0))*2.0) + 1.5), 0.5);
        }

mods/novastoryassets.sc2modbase.sc2maps/maps/campaign/nova/nova01.sc2map/MapScript.galaxy:1660

        if ((lv_currentRadius > 40.0)) {
            UnitIssueOrder(gv_warhawk, OrderTargetingPoint(AbilityCommand("move", 0), PointWithOffsetPolar(lv_midpoint, (lv_distance - (2.0 * Sin((lv_currentRadius - 30.0)))), (lv_currentRadius - 30.0))), c_orderQueueReplace);
            UnitSetHeight(gv_warhawk, ((Sin((lv_currentRadius - 30.0))*2.0) + 1.5), 0.5);
        }
        else {

mods/novastoryassets.sc2modbase3.sc2maps/maps/campaign/nova/nova09.sc2map/MapScript.galaxy:4633

    lv_cameraPosition[0] = PointGetX(CameraGetTarget(1));
    lv_cameraPosition[1] = (PointGetY(CameraGetTarget(1))-(Cos(CameraGetPitch(1))*CameraGetDistance(1)));
    lv_cameraPosition[2] = (WorldHeight(c_heightMapGround, CameraGetTarget(1))+(Sin(CameraGetPitch(1))*CameraGetDistance(1)));
    lv_effectPosition[0] = PointGetX(EventPlayerEffectUsedPoint(c_effectLocationTargetPoint));
    lv_effectPosition[1] = PointGetY(EventPlayerEffectUsedPoint(c_effectLocationTargetPoint));

mods/novastoryassets.sc2mod/base.sc2maps/maps/campaign/nova/nova01.sc2mapMapScript.galaxy:1648

    if ((lp_side == ge_PRESET_LeftRight_Left)) {
        if (((lv_currentRadius > 270.0) || (lv_currentRadius < 140.0))) {
            UnitIssueOrder(gv_warhawk, OrderTargetingPoint(AbilityCommand("move", 0), PointWithOffsetPolar(lv_midpoint, (lv_distance - (2.0 * Sin((lv_currentRadius + 30.0)))), (lv_currentRadius + 30.0))), c_orderQueueReplace);
            UnitSetHeight(gv_warhawk, ((Sin((lv_currentRadius + 30.0))*2.0) + 1.5), 0.5);
        }

mods/novastoryassets.sc2mod/base.sc2maps/maps/campaign/nova/nova01.sc2mapMapScript.galaxy:1649

        if (((lv_currentRadius > 270.0) || (lv_currentRadius < 140.0))) {
            UnitIssueOrder(gv_warhawk, OrderTargetingPoint(AbilityCommand("move", 0), PointWithOffsetPolar(lv_midpoint, (lv_distance - (2.0 * Sin((lv_currentRadius + 30.0)))), (lv_currentRadius + 30.0))), c_orderQueueReplace);
            UnitSetHeight(gv_warhawk, ((Sin((lv_currentRadius + 30.0))*2.0) + 1.5), 0.5);
        }
        else {

mods/novastoryassets.sc2mod/base.sc2maps/maps/campaign/nova/nova01.sc2mapMapScript.galaxy:1659

    else {
        if ((lv_currentRadius > 40.0)) {
            UnitIssueOrder(gv_warhawk, OrderTargetingPoint(AbilityCommand("move", 0), PointWithOffsetPolar(lv_midpoint, (lv_distance - (2.0 * Sin((lv_currentRadius - 30.0)))), (lv_currentRadius - 30.0))), c_orderQueueReplace);
            UnitSetHeight(gv_warhawk, ((Sin((lv_currentRadius - 30.0))*2.0) + 1.5), 0.5);
        }

mods/novastoryassets.sc2mod/base.sc2maps/maps/campaign/nova/nova01.sc2mapMapScript.galaxy:1660

        if ((lv_currentRadius > 40.0)) {
            UnitIssueOrder(gv_warhawk, OrderTargetingPoint(AbilityCommand("move", 0), PointWithOffsetPolar(lv_midpoint, (lv_distance - (2.0 * Sin((lv_currentRadius - 30.0)))), (lv_currentRadius - 30.0))), c_orderQueueReplace);
            UnitSetHeight(gv_warhawk, ((Sin((lv_currentRadius - 30.0))*2.0) + 1.5), 0.5);
        }
        else {

mods/novastoryassets.sc2mod/base3.sc2maps/maps/campaign/nova/nova09.sc2mapMapScript.galaxy:4633

    lv_cameraPosition[0] = PointGetX(CameraGetTarget(1));
    lv_cameraPosition[1] = (PointGetY(CameraGetTarget(1))-(Cos(CameraGetPitch(1))*CameraGetDistance(1)));
    lv_cameraPosition[2] = (WorldHeight(c_heightMapGround, CameraGetTarget(1))+(Sin(CameraGetPitch(1))*CameraGetDistance(1)));
    lv_effectPosition[0] = PointGetX(EventPlayerEffectUsedPoint(c_effectLocationTargetPoint));
    lv_effectPosition[1] = PointGetY(EventPlayerEffectUsedPoint(c_effectLocationTargetPoint));

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:21296

    lv_di = FixedToInt((lv_d / 5.0));
    lv_x = (PointGetX(lv_a) + (Cos(lv_facing) * 5.0));
    lv_y = (PointGetY(lv_a) + (Sin(lv_facing) * 5.0));
    libCOMI_gv_laserDrillSoundRegion[lv_player] = RegionCircle(Point(lv_x, lv_y), 1.0);
    auto4F31BA37_ae = lv_di;

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:21302

    for ( ; ( (auto4F31BA37_ai >= 0 && lv_i <= auto4F31BA37_ae) || (auto4F31BA37_ai < 0 && lv_i >= auto4F31BA37_ae) ) ; lv_i += auto4F31BA37_ai ) {
        lv_x = (PointGetX(lv_a) + (Cos(lv_facing) * (IntToFixed(lv_i) * 5.0)));
        lv_y = (PointGetY(lv_a) + (Sin(lv_facing) * (IntToFixed(lv_i) * 5.0)));
        RegionAddCircle(libCOMI_gv_laserDrillSoundRegion[lv_player], true, Point(lv_x, lv_y), 3.0);
    }

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:21357

    lv_di = FixedToInt((lv_d / 5.0));
    lv_x = (PointGetX(lv_a) + (Cos(lv_facing) * 5.0));
    lv_y = (PointGetY(lv_a) + (Sin(lv_facing) * 5.0));
    libCOMI_gv_laserDrillBFGSoundRegion[lv_player] = RegionCircle(Point(lv_x, lv_y), 1.0);
    autoCBCE54E5_ae = lv_di;

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:21363

    for ( ; ( (autoCBCE54E5_ai >= 0 && lv_i <= autoCBCE54E5_ae) || (autoCBCE54E5_ai < 0 && lv_i >= autoCBCE54E5_ae) ) ; lv_i += autoCBCE54E5_ai ) {
        lv_x = (PointGetX(lv_a) + (Cos(lv_facing) * (IntToFixed(lv_i) * 5.0)));
        lv_y = (PointGetY(lv_a) + (Sin(lv_facing) * (IntToFixed(lv_i) * 5.0)));
        RegionAddCircle(libCOMI_gv_laserDrillBFGSoundRegion[lv_player], true, Point(lv_x, lv_y), 3.0);
    }

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:21418

    lv_di = FixedToInt((lv_d / 5.0));
    lv_x = (PointGetX(lv_a) + (Cos(lv_facing) * 5.0));
    lv_y = (PointGetY(lv_a) + (Sin(lv_facing) * 5.0));
    libCOMI_gv_laserDrillNukeSoundRegion[lv_player] = RegionCircle(Point(lv_x, lv_y), 1.0);
    auto19534EEF_ae = lv_di;

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:21424

    for ( ; ( (auto19534EEF_ai >= 0 && lv_i <= auto19534EEF_ae) || (auto19534EEF_ai < 0 && lv_i >= auto19534EEF_ae) ) ; lv_i += auto19534EEF_ai ) {
        lv_x = (PointGetX(lv_a) + (Cos(lv_facing) * (IntToFixed(lv_i) * 5.0)));
        lv_y = (PointGetY(lv_a) + (Sin(lv_facing) * (IntToFixed(lv_i) * 5.0)));
        RegionAddCircle(libCOMI_gv_laserDrillNukeSoundRegion[lv_player], true, Point(lv_x, lv_y), 3.0);
    }

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:25329

        lv_cameraPosition[0] = PointGetX(lv_cameraTargetPoint);
        lv_cameraPosition[1] = (PointGetY(lv_cameraTargetPoint)-(Cos(CameraGetPitch(lv_player))*CameraGetDistance(lv_player)));
        lv_cameraPosition[2] = (WorldHeight(c_heightMapGround, lv_cameraTargetPoint)+(Sin(CameraGetPitch(lv_player))*CameraGetDistance(lv_player)));
        lv_distance = SquareRoot((Pow((lv_cameraPosition[0]-lv_effectPosition[0]), 2.0) + Pow((lv_cameraPosition[1]-lv_effectPosition[1]), 2.0) + Pow((lv_cameraPosition[2]-lv_effectPosition[2]), 2.0)));
        CameraShakeStart(lv_player, c_cameraPositionTarget, c_cameraDirectionZ, MaxF((1-(lv_distance/50)), 0.0), 5.0, 100.0, 0.5);

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:29244

    lv_cameraPosition[0] = PointGetX(lv_cameraTargetPoint);
    lv_cameraPosition[1] = (PointGetY(lv_cameraTargetPoint)-(Cos(CameraGetPitch(lv_player))*CameraGetDistance(lv_player)));
    lv_cameraPosition[2] = (WorldHeight(c_heightMapGround, lv_cameraTargetPoint)+(Sin(CameraGetPitch(lv_player))*CameraGetDistance(lv_player)));
    lv_effectPosition[0] = PointGetX(lv_effectTargetPoint);
    lv_effectPosition[1] = PointGetY(lv_effectTargetPoint);

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMU.galaxy:10466

    lv_di = FixedToInt((lv_d / 5.0));
    lv_x = (PointGetX(lv_a) + (Cos(lv_facing) * 5.0));
    lv_y = (PointGetY(lv_a) + (Sin(lv_facing) * 5.0));
    libCOMU_gv_mutatorLaserDrillSoundRegion = RegionCircle(Point(lv_x, lv_y), 1.0);
    auto81A71E4C_ae = lv_di;

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMU.galaxy:10472

    for ( ; ( (auto81A71E4C_ai >= 0 && lv_i <= auto81A71E4C_ae) || (auto81A71E4C_ai < 0 && lv_i >= auto81A71E4C_ae) ) ; lv_i += auto81A71E4C_ai ) {
        lv_x = (PointGetX(lv_a) + (Cos(lv_facing) * (IntToFixed(lv_i) * 5.0)));
        lv_y = (PointGetY(lv_a) + (Sin(lv_facing) * (IntToFixed(lv_i) * 5.0)));
        RegionAddCircle(libCOMU_gv_mutatorLaserDrillSoundRegion, true, Point(lv_x, lv_y), 3.0);
    }