# Send Actor Message To Game Region With Filters

Grammar — Send actor message message to all actors that intersect game region region with their intersectType that belong to class classFilters and match terms terms
FlagsAction

Sends an actor message to all the actors contained within the specified game region. The Intersect Type parameter defines which radius will be used to determine intersection with the region. The Class Filters parameter is used to specify which types of actors should receive the message. The format for Class Filters is a list of comma delimited actor types. The Terms parameter is used to specify a condition that an actor in the region must meet in order to receive the message. The format for Terms is a list of semi colon delimited actor terms. An actor message will perform an action and/or trigger an event on the actor it is sent to.

# Arguments

  • region — Region
  • int<preset::ActorIntersectType> — Intersect Type
  • string<actormsg> — Message
  • string — Class Filters
  • string — Terms

Returns — void

void libNtve_gf_SendActorMessageToGameRegionWithFilters(
	region lp_region,
	int lp_intersectType,
	string lp_message,
	string lp_classFilters,
	string lp_terms,
);

Category: Actor / Send Actor Messages

# Examples

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:2448

    TriggerEnable(gt_OdinStompsStuff, true);
    TriggerExecute(gt_StartGameStage1Timer, true, false);
    libNtve_gf_SendActorMessageToGameRegionWithFilters(RegionCircle(RegionGetCenter(RegionFromId(9)), 20.0), c_actorIntersectAgainstRadiusContact, "SetVisibility", "Doodad", "ScopeContains Balloons");
    libNtve_gf_SendActorMessageToGameRegionWithFilters(RegionCircle(RegionGetCenter(RegionFromId(9)), 20.0), c_actorIntersectAgainstRadiusContact, "SetVisibility", "Doodad", "ScopeContains TickerTapeFX");
    libNtve_gf_SendActorMessageToGameRegionWithFilters(RegionCircle(RegionGetCenter(RegionFromId(9)), 20.0), c_actorIntersectAgainstRadiusContact, "SetVisibility", "Doodad", "ScopeContains Fireworks");

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:2449

    TriggerExecute(gt_StartGameStage1Timer, true, false);
    libNtve_gf_SendActorMessageToGameRegionWithFilters(RegionCircle(RegionGetCenter(RegionFromId(9)), 20.0), c_actorIntersectAgainstRadiusContact, "SetVisibility", "Doodad", "ScopeContains Balloons");
    libNtve_gf_SendActorMessageToGameRegionWithFilters(RegionCircle(RegionGetCenter(RegionFromId(9)), 20.0), c_actorIntersectAgainstRadiusContact, "SetVisibility", "Doodad", "ScopeContains TickerTapeFX");
    libNtve_gf_SendActorMessageToGameRegionWithFilters(RegionCircle(RegionGetCenter(RegionFromId(9)), 20.0), c_actorIntersectAgainstRadiusContact, "SetVisibility", "Doodad", "ScopeContains Fireworks");
    auto04317FC0_g = UnitGroup("PathingBlocker1x1", c_playerAny, RegionFromId(17), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:2450

    libNtve_gf_SendActorMessageToGameRegionWithFilters(RegionCircle(RegionGetCenter(RegionFromId(9)), 20.0), c_actorIntersectAgainstRadiusContact, "SetVisibility", "Doodad", "ScopeContains Balloons");
    libNtve_gf_SendActorMessageToGameRegionWithFilters(RegionCircle(RegionGetCenter(RegionFromId(9)), 20.0), c_actorIntersectAgainstRadiusContact, "SetVisibility", "Doodad", "ScopeContains TickerTapeFX");
    libNtve_gf_SendActorMessageToGameRegionWithFilters(RegionCircle(RegionGetCenter(RegionFromId(9)), 20.0), c_actorIntersectAgainstRadiusContact, "SetVisibility", "Doodad", "ScopeContains Fireworks");
    auto04317FC0_g = UnitGroup("PathingBlocker1x1", c_playerAny, RegionFromId(17), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto04317FC0_u = UnitGroupCount(auto04317FC0_g, c_unitCountAll);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:6563

    PlayerSetState(gv_p01_USER, c_playerStateXPGain, false);
    GameTimeOfDayPause(true);
    libNtve_gf_SendActorMessageToGameRegionWithFilters(RegionCircle(RegionGetCenter(RegionFromId(9)), 20.0), c_actorIntersectAgainstRadiusContact, "SetVisibility", "Doodad", "ScopeContains Balloons");
    libNtve_gf_SendActorMessageToGameRegionWithFilters(RegionCircle(RegionGetCenter(RegionFromId(9)), 20.0), c_actorIntersectAgainstRadiusContact, "SetVisibility", "Doodad", "ScopeContains TickerTapeFX");
    libNtve_gf_SendActorMessageToGameRegionWithFilters(RegionCircle(RegionGetCenter(RegionFromId(9)), 20.0), c_actorIntersectAgainstRadiusContact, "SetVisibility", "Doodad", "ScopeContains Fireworks");

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:6564

    GameTimeOfDayPause(true);
    libNtve_gf_SendActorMessageToGameRegionWithFilters(RegionCircle(RegionGetCenter(RegionFromId(9)), 20.0), c_actorIntersectAgainstRadiusContact, "SetVisibility", "Doodad", "ScopeContains Balloons");
    libNtve_gf_SendActorMessageToGameRegionWithFilters(RegionCircle(RegionGetCenter(RegionFromId(9)), 20.0), c_actorIntersectAgainstRadiusContact, "SetVisibility", "Doodad", "ScopeContains TickerTapeFX");
    libNtve_gf_SendActorMessageToGameRegionWithFilters(RegionCircle(RegionGetCenter(RegionFromId(9)), 20.0), c_actorIntersectAgainstRadiusContact, "SetVisibility", "Doodad", "ScopeContains Fireworks");
    UnitRemove(UnitFromId(963));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:6565

    libNtve_gf_SendActorMessageToGameRegionWithFilters(RegionCircle(RegionGetCenter(RegionFromId(9)), 20.0), c_actorIntersectAgainstRadiusContact, "SetVisibility", "Doodad", "ScopeContains Balloons");
    libNtve_gf_SendActorMessageToGameRegionWithFilters(RegionCircle(RegionGetCenter(RegionFromId(9)), 20.0), c_actorIntersectAgainstRadiusContact, "SetVisibility", "Doodad", "ScopeContains TickerTapeFX");
    libNtve_gf_SendActorMessageToGameRegionWithFilters(RegionCircle(RegionGetCenter(RegionFromId(9)), 20.0), c_actorIntersectAgainstRadiusContact, "SetVisibility", "Doodad", "ScopeContains Fireworks");
    UnitRemove(UnitFromId(963));
    auto765F1FFE_g = UnitGroup(null, gv_p02_DOMINION_INFANTRY, RegionFromId(17), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32))), 0);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner04.sc2mapMapScript.galaxy:2448

    TriggerEnable(gt_OdinStompsStuff, true);
    TriggerExecute(gt_StartGameStage1Timer, true, false);
    libNtve_gf_SendActorMessageToGameRegionWithFilters(RegionCircle(RegionGetCenter(RegionFromId(9)), 20.0), c_actorIntersectAgainstRadiusContact, "SetVisibility", "Doodad", "ScopeContains Balloons");
    libNtve_gf_SendActorMessageToGameRegionWithFilters(RegionCircle(RegionGetCenter(RegionFromId(9)), 20.0), c_actorIntersectAgainstRadiusContact, "SetVisibility", "Doodad", "ScopeContains TickerTapeFX");
    libNtve_gf_SendActorMessageToGameRegionWithFilters(RegionCircle(RegionGetCenter(RegionFromId(9)), 20.0), c_actorIntersectAgainstRadiusContact, "SetVisibility", "Doodad", "ScopeContains Fireworks");

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner04.sc2mapMapScript.galaxy:2449

    TriggerExecute(gt_StartGameStage1Timer, true, false);
    libNtve_gf_SendActorMessageToGameRegionWithFilters(RegionCircle(RegionGetCenter(RegionFromId(9)), 20.0), c_actorIntersectAgainstRadiusContact, "SetVisibility", "Doodad", "ScopeContains Balloons");
    libNtve_gf_SendActorMessageToGameRegionWithFilters(RegionCircle(RegionGetCenter(RegionFromId(9)), 20.0), c_actorIntersectAgainstRadiusContact, "SetVisibility", "Doodad", "ScopeContains TickerTapeFX");
    libNtve_gf_SendActorMessageToGameRegionWithFilters(RegionCircle(RegionGetCenter(RegionFromId(9)), 20.0), c_actorIntersectAgainstRadiusContact, "SetVisibility", "Doodad", "ScopeContains Fireworks");
    auto04317FC0_g = UnitGroup("PathingBlocker1x1", c_playerAny, RegionFromId(17), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner04.sc2mapMapScript.galaxy:2450

    libNtve_gf_SendActorMessageToGameRegionWithFilters(RegionCircle(RegionGetCenter(RegionFromId(9)), 20.0), c_actorIntersectAgainstRadiusContact, "SetVisibility", "Doodad", "ScopeContains Balloons");
    libNtve_gf_SendActorMessageToGameRegionWithFilters(RegionCircle(RegionGetCenter(RegionFromId(9)), 20.0), c_actorIntersectAgainstRadiusContact, "SetVisibility", "Doodad", "ScopeContains TickerTapeFX");
    libNtve_gf_SendActorMessageToGameRegionWithFilters(RegionCircle(RegionGetCenter(RegionFromId(9)), 20.0), c_actorIntersectAgainstRadiusContact, "SetVisibility", "Doodad", "ScopeContains Fireworks");
    auto04317FC0_g = UnitGroup("PathingBlocker1x1", c_playerAny, RegionFromId(17), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto04317FC0_u = UnitGroupCount(auto04317FC0_g, c_unitCountAll);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner04.sc2mapMapScript.galaxy:6563

    PlayerSetState(gv_p01_USER, c_playerStateXPGain, false);
    GameTimeOfDayPause(true);
    libNtve_gf_SendActorMessageToGameRegionWithFilters(RegionCircle(RegionGetCenter(RegionFromId(9)), 20.0), c_actorIntersectAgainstRadiusContact, "SetVisibility", "Doodad", "ScopeContains Balloons");
    libNtve_gf_SendActorMessageToGameRegionWithFilters(RegionCircle(RegionGetCenter(RegionFromId(9)), 20.0), c_actorIntersectAgainstRadiusContact, "SetVisibility", "Doodad", "ScopeContains TickerTapeFX");
    libNtve_gf_SendActorMessageToGameRegionWithFilters(RegionCircle(RegionGetCenter(RegionFromId(9)), 20.0), c_actorIntersectAgainstRadiusContact, "SetVisibility", "Doodad", "ScopeContains Fireworks");

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner04.sc2mapMapScript.galaxy:6564

    GameTimeOfDayPause(true);
    libNtve_gf_SendActorMessageToGameRegionWithFilters(RegionCircle(RegionGetCenter(RegionFromId(9)), 20.0), c_actorIntersectAgainstRadiusContact, "SetVisibility", "Doodad", "ScopeContains Balloons");
    libNtve_gf_SendActorMessageToGameRegionWithFilters(RegionCircle(RegionGetCenter(RegionFromId(9)), 20.0), c_actorIntersectAgainstRadiusContact, "SetVisibility", "Doodad", "ScopeContains TickerTapeFX");
    libNtve_gf_SendActorMessageToGameRegionWithFilters(RegionCircle(RegionGetCenter(RegionFromId(9)), 20.0), c_actorIntersectAgainstRadiusContact, "SetVisibility", "Doodad", "ScopeContains Fireworks");
    UnitRemove(UnitFromId(963));

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner04.sc2mapMapScript.galaxy:6565

    libNtve_gf_SendActorMessageToGameRegionWithFilters(RegionCircle(RegionGetCenter(RegionFromId(9)), 20.0), c_actorIntersectAgainstRadiusContact, "SetVisibility", "Doodad", "ScopeContains Balloons");
    libNtve_gf_SendActorMessageToGameRegionWithFilters(RegionCircle(RegionGetCenter(RegionFromId(9)), 20.0), c_actorIntersectAgainstRadiusContact, "SetVisibility", "Doodad", "ScopeContains TickerTapeFX");
    libNtve_gf_SendActorMessageToGameRegionWithFilters(RegionCircle(RegionGetCenter(RegionFromId(9)), 20.0), c_actorIntersectAgainstRadiusContact, "SetVisibility", "Doodad", "ScopeContains Fireworks");
    UnitRemove(UnitFromId(963));
    auto765F1FFE_g = UnitGroup(null, gv_p02_DOMINION_INFANTRY, RegionFromId(17), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32))), 0);