# Wait for Animation Length Queries

Grammar — Wait until all active animation length queries are finished
FlagsNative | Action

Waits until all queries sent with “Query Animation Length” functions have been received for all players.

Returns — void

native void AnimLengthQueryWait();

Category: Animation / Advanced

# Examples

mods/novastoryassets.sc2modbase2.sc2maps/maps/campaign/nova/nova06.sc2map/MapScript.galaxy:7168


    AnimLengthQueryByName(ActorFromDoodad(DoodadFromId(1667)), "Driveby", true);
    AnimLengthQueryWait();
    lv_carAnimation = AnimLengthQueryLastCreated();
    lv_animationTime = AnimLengthRemainingSync(lv_carAnimation);

mods/novastoryassets.sc2modbase2.sc2maps/maps/campaign/nova/nova06.sc2map/MapScript.galaxy:7619


    AnimLengthQueryByName(ActorFromDoodad(DoodadFromId(5973)), "Driveby", true);
    AnimLengthQueryWait();
    lv_carAnimation = AnimLengthQueryLastCreated();
    lv_animationTime = AnimLengthRemainingSync(lv_carAnimation);

mods/novastoryassets.sc2mod/base2.sc2maps/maps/campaign/nova/nova06.sc2mapMapScript.galaxy:7168


    AnimLengthQueryByName(ActorFromDoodad(DoodadFromId(1667)), "Driveby", true);
    AnimLengthQueryWait();
    lv_carAnimation = AnimLengthQueryLastCreated();
    lv_animationTime = AnimLengthRemainingSync(lv_carAnimation);

mods/novastoryassets.sc2mod/base2.sc2maps/maps/campaign/nova/nova06.sc2mapMapScript.galaxy:7619


    AnimLengthQueryByName(ActorFromDoodad(DoodadFromId(5973)), "Driveby", true);
    AnimLengthQueryWait();
    lv_carAnimation = AnimLengthQueryLastCreated();
    lv_animationTime = AnimLengthRemainingSync(lv_carAnimation);