# Send Actor Message To Actor Region

Grammar — Send actor message message to all actors contained by actor region region
FlagsAction

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 — Region
  • string<actormsg> — Message

Returns — void

void libNtve_gf_ActorRegionSendSimple(
	actor lp_region,
	string lp_message,
);

Category: Actor / Send Actor Messages

# Examples

campaigns/swarm.sc2campaignbase.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.sc2campaignbase.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.sc2mapMapScript.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.sc2mapMapScript.galaxy:11484

    PlayerSetState(gv_pLAYER_01_USER, c_playerStateXPGain, false);
    GameTimeOfDayPause(true);
    libNtve_gf_ActorRegionSendSimple(gv_hiddenDoodadRegion, "SetVisibility 1");
    UnitPauseAll(true);
    AITimePause(true);