# Send Actor Message To Actor Region
Grammar — Send actor message message to all actors contained by actor region region
Flags —Action
Sends an actor message to all the actors contained within the specified region actor. An actor message will perform an action and/or trigger an event on the actor it is sent to.
# Arguments
actor
— Regionstring
<actormsg> — Message
Returns — void
void libNtve_gf_ActorRegionSendSimple(
actor lp_region,
string lp_message,
);
# 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/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab02.sc2map/MapScript.galaxy:1326
ActorRegionCreate(null, "TriggerRegion", RegionFromId(130));
gv_hiddenDoodadRegion = libNtve_gf_ActorLastCreated();
libNtve_gf_ActorRegionSendSimple(gv_hiddenDoodadRegion, "SetVisibility");
return true;
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab02.sc2map/MapScript.galaxy:11484
PlayerSetState(gv_pLAYER_01_USER, c_playerStateXPGain, false);
GameTimeOfDayPause(true);
libNtve_gf_ActorRegionSendSimple(gv_hiddenDoodadRegion, "SetVisibility 1");
UnitPauseAll(true);
AITimePause(true);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab02.sc2map — MapScript.galaxy:1326
ActorRegionCreate(null, "TriggerRegion", RegionFromId(130));
gv_hiddenDoodadRegion = libNtve_gf_ActorLastCreated();
libNtve_gf_ActorRegionSendSimple(gv_hiddenDoodadRegion, "SetVisibility");
return true;
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab02.sc2map — MapScript.galaxy:11484
PlayerSetState(gv_pLAYER_01_USER, c_playerStateXPGain, false);
GameTimeOfDayPause(true);
libNtve_gf_ActorRegionSendSimple(gv_hiddenDoodadRegion, "SetVisibility 1");
UnitPauseAll(true);
AITimePause(true);