# 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
Flags —Action
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
— Regionint
<preset::ActorIntersectType> — Intersect Typestring
<actormsg> — Messagestring
— Class Filtersstring
— Terms
Returns — void
void libNtve_gf_SendActorMessageToGameRegionWithFilters(
region lp_region,
int lp_intersectType,
string lp_message,
string lp_classFilters,
string lp_terms,
);
# Related
Category: Actor / Send Actor Messages
- Send Actor Message —
void
— ActorSend - Send Actor Message As Text —
void
— ActorSendAsText - Send Actor Message To Unit —
void
— libNtve_gf_SendActorMessageToUnit - Send Actor Message To Scope —
void
— ActorScopeSend - Send Actor Message To Actor Region —
void
— libNtve_gf_ActorRegionSendSimple - Send Actor Message To Actor Region With Filters —
void
— ActorRegionSend - Send Actor Message To Game Region —
void
— libNtve_gf_SendActorMessageToGameRegion - Send Actor Message To Game Region With Filters —
void
— libNtve_gf_SendActorMessageToGameRegionWithFilters - Send Actor Message Via Name —
void
— ActorSendTo - Send Actor Message As Text Via Name —
void
— ActorSendToAsText
# Examples
campaigns/liberty.sc2campaign — base.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.sc2campaign — base.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.sc2campaign — base.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.sc2campaign — base.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.sc2campaign — base.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.sc2campaign — base.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.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.sc2campaign/base.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.sc2campaign/base.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.sc2campaign/base.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.sc2campaign/base.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.sc2campaign/base.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);