# Anim Clear

Grammar — AnimClear animName blendTime
FlagsFunction

Constructs and returns an AnimClear actor message. This message will clear an animation sequence with the same name as the Anim Name parameter being played by an actor. It will only work on actors with models that have animations.

# Arguments

  • string — Anim Name
  • fixed — Blend Time

Returns — string<actormsg>

string libNtve_gf_AnimClear(
	string lp_animName,
	fixed lp_blendTime,
);

Category: Actor / Message Constructors

# Examples

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:3542

void gf_ClearAnimationwithblendtime (string lp_identifier, unit lp_unit, fixed lp_blendTime) {
    // Implementation
    libNtve_gf_SendActorMessageToUnit(lp_unit, libNtve_gf_AnimClear(lp_identifier, lp_blendTime));
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:3542

void gf_ClearAnimationwithblendtime (string lp_identifier, unit lp_unit, fixed lp_blendTime) {
    // Implementation
    libNtve_gf_SendActorMessageToUnit(lp_unit, libNtve_gf_AnimClear(lp_identifier, lp_blendTime));
}

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:532

    // Automatic Variable Declarations
    // Implementation
    libNtve_gf_SendActorMessageToUnit(lp_unit, libNtve_gf_AnimClear(lp_identifier, lp_blendTime));
}

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:7625

            UnitSetState(lv_eggUnit, c_unitStateCursorable, false);
            libNtve_gf_SendActorMessageToUnit(lv_eggUnit, "HaloStop");
            libNtve_gf_SendActorMessageToUnit(lv_eggUnit, libNtve_gf_AnimClear(libSwaC_gv_zSC_ANIMRAWRING, 0.0));
            libSwaC_gf_ZS_ArmyCalloutShowHide(false, lv_indexCategory);
        }

campaigns/swarmstoryutil.sc2modbase.sc2data/Lib281DEC45.galaxy:2943

void lib281DEC45_gf_ClearAnimationwithblendtime (string lp_identifier, unit lp_unit, fixed lp_blendTime) {
    // Implementation
    libNtve_gf_SendActorMessageToUnit(lp_unit, libNtve_gf_AnimClear(lp_identifier, lp_blendTime));
}

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignLib.galaxy:8395

    // Automatic Variable Declarations
    // Implementation
    libNtve_gf_SendActorMessageToUnit(lp_unit, libNtve_gf_AnimClear(lp_identifier, lp_blendTime));
}

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignLib.galaxy:8401

    // Automatic Variable Declarations
    // Implementation
    ActorSend(lp_actor, libNtve_gf_AnimClear(lp_identifier, lp_blendTime));
}

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:1495

    // Automatic Variable Declarations
    // Implementation
    libNtve_gf_SendActorMessageToUnit(lp_unit, libNtve_gf_AnimClear(lp_identifier, lp_blendTime));
}

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

    }

    ActorRegionSend(lv_actorRegion, c_actorIntersectAgainstRadiusContact, libNtve_gf_AnimClear(lp_identifier, -1.0), "Doodad", lv_termsString);
}

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

    }

    ActorRegionSend(lv_actorRegion, c_actorIntersectAgainstRadiusContact, libNtve_gf_AnimClear(lp_identifier, -1.0), "Doodad", lv_termsString);
}

mods/missionpacks/campaigncommon.sc2modbase.sc2data/LibComC.galaxy:4237

void libComC_gf_ClearAnimationwithblendtime (string lp_identifier, unit lp_unit, fixed lp_blendTime) {
    // Implementation
    libNtve_gf_SendActorMessageToUnit(lp_unit, libNtve_gf_AnimClear(lp_identifier, lp_blendTime));
}

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOOC.galaxy:5504

    // Automatic Variable Declarations
    // Implementation
    libNtve_gf_SendActorMessageToUnit(lp_unit, libNtve_gf_AnimClear(lp_identifier, lp_blendTime));
}

mods/voidprologue.sc2modbase.sc2data/LibA3DDD02B.galaxy:257

    // Automatic Variable Declarations
    // Implementation
    libNtve_gf_SendActorMessageToUnit(lp_unit, libNtve_gf_AnimClear(lp_identifier, lp_blendTime));
}