# Actor Msg 1

FlagsFunction | Internal

Constructs and returns an actor message with a single parameter. The actor message returned is formed by combining the Msg Name and Param 1 string parameters. This function is primarily used by other “Actor” type functions to assemble actor messages, although it can be used to assemble any actor message from scratch with the right know-how.

# Arguments

  • string — Msg Name
  • string — Param 1

Returns — string<actormsg>

string libNtve_gf_ActorMsg1(
	string lp_msgName,
	string lp_param1,
);

Category: Actor / Message Constructors

# Examples

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:13601


    ActorSend(ActorFromPortrait(gv_briefing_TZeratulPortraitZeratul), "TextureVideoStopAll");
    ActorSend(ActorFromPortrait(gv_briefing_TZeratulPortraitZeratul), libNtve_gf_ActorMsg1("TextureSelectById", (lp_movie)));
    gv_briefingVideoPlaying = lp_movie;
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:13601


    ActorSend(ActorFromPortrait(gv_briefing_TZeratulPortraitZeratul), "TextureVideoStopAll");
    ActorSend(ActorFromPortrait(gv_briefing_TZeratulPortraitZeratul), libNtve_gf_ActorMsg1("TextureSelectById", (lp_movie)));
    gv_briefingVideoPlaying = lp_movie;
}

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:413

    ActorCreate(null, "TriggerModel", (lp_model), null, "null");
    lv_a = libNtve_gf_ActorLastCreated();
    ActorSend(lv_a, libNtve_gf_ActorMsg1("SetPositionH", libNtve_gf_ConvertXYToString(PointGetX(lp_position), PointGetY(lp_position))));
    ActorSend(lv_a, libNtve_gf_SetHeight(PointGetHeight(lp_position)));
    return lv_a;

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:504

    // Automatic Variable Declarations
    // Implementation
    return libNtve_gf_ActorMsg1("AliasAdd", lp_alias);
}

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:510

    // Automatic Variable Declarations
    // Implementation
    return libNtve_gf_ActorMsg1("AliasRemove", lp_alias);
}

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:528

    // Automatic Variable Declarations
    // Implementation
    return libNtve_gf_ActorMsg1("AnimBlendTimeApply", FixedToString(lp_blendTime, c_fixedPrecisionAny));
}

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:583

    // Implementation
    if ((lp_pause == true)) {
        return libNtve_gf_ActorMsg1("AnimSetPaused", "true");
    }
    else {

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:586

    }
    else {
        return libNtve_gf_ActorMsg1("AnimSetPaused", "false");
    }
}

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:605

    // Automatic Variable Declarations
    // Implementation
    return libNtve_gf_ActorMsg1("AnimSetTimeScaleGlobal", FixedToString(lp_value, c_fixedPrecisionAny));
}

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:659

    // Automatic Variable Declarations
    // Implementation
    return libNtve_gf_ActorMsg1("DeathCustomize", lp_subname);
}

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:677

    // Automatic Variable Declarations
    // Implementation
    return libNtve_gf_ActorMsg1("ListAdd", lp_actorRefName);
}

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:683

    // Automatic Variable Declarations
    // Implementation
    return libNtve_gf_ActorMsg1("ListRemove", lp_actorRefName);
}

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:296

    ActorCreate(null, "TriggerModel", (lp_model), null, "null");
    lv_a = libNtve_gf_ActorLastCreated();
    ActorSend(lv_a, libNtve_gf_ActorMsg1("SetPositionH", libNtve_gf_ConvertXYToString(PointGetX(lp_position), PointGetY(lp_position))));
    ActorSend(lv_a, libNtve_gf_SetHeight(PointGetHeight(lp_position)));
    return lv_a;

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:387

    // Automatic Variable Declarations
    // Implementation
    return libNtve_gf_ActorMsg1("AliasAdd", lp_alias);
}

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:393

    // Automatic Variable Declarations
    // Implementation
    return libNtve_gf_ActorMsg1("AliasRemove", lp_alias);
}

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:411

    // Automatic Variable Declarations
    // Implementation
    return libNtve_gf_ActorMsg1("AnimBlendTimeApply", FixedToString(lp_blendTime, c_fixedPrecisionAny));
}

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:466

    // Implementation
    if ((lp_pause == true)) {
        return libNtve_gf_ActorMsg1("AnimSetPaused", "true");
    }
    else {

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:469

    }
    else {
        return libNtve_gf_ActorMsg1("AnimSetPaused", "false");
    }
}

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:488

    // Automatic Variable Declarations
    // Implementation
    return libNtve_gf_ActorMsg1("AnimSetTimeScaleGlobal", FixedToString(lp_value, c_fixedPrecisionAny));
}

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:530

    // Automatic Variable Declarations
    // Implementation
    return libNtve_gf_ActorMsg1("BannerSet", (lp_banner));
}

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:548

    // Automatic Variable Declarations
    // Implementation
    return libNtve_gf_ActorMsg1("DeathCustomize", lp_subname);
}

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:566

    // Automatic Variable Declarations
    // Implementation
    return libNtve_gf_ActorMsg1("ListAdd", lp_actorRefName);
}

mods/missionpacks/novacampaign.sc2modbase.sc2data/LibNCMI.galaxy:4647


    ActorSend(ActorFrom("::external.Nova03_040"), "Attach ::external.FunTest {Origin 0} SOpAttachOrigin");
    ActorSend(libNCMI_gv_nM_CreditsCutsceneNewsScreen, libNtve_gf_ActorMsg1("TextureSelectById", ("video_newsreport_smx3_mp03_040")));
    ActorSend(libNCMI_gv_nM_CreditsCutsceneNewsScreen, MakeMsgTextureVideoPlay("video", c_textureSlotComponentDefault, 30, c_textureVideoPlayFlagSynced, 1, "Transmission"));
    SoundChannelDSPInsert(PlayerGroupAll(), c_soundCategoryTV, "Reverb_NovaMP03_ValeriansChamber");

mods/novastoryassets.sc2modbase.sc2maps/maps/campaign/nova/nstory01.sc2map/MapScript.galaxy:640


    ActorSend(ActorFrom("::external.NovaTV"), "Attach ::external.FunTest {Origin 0} SOpAttachOrigin");
    ActorSend(gv_mP01_030_NewsScreen, libNtve_gf_ActorMsg1("TextureSelectById", ("video_newsreport_smx3_mp01_030")));
    ActorSend(gv_mP01_030_NewsScreen, MakeMsgTextureVideoPlay("video", c_textureSlotComponentDefault, 30, c_textureVideoPlayFlagSynced, 1, "Transmission"));
    return true;

mods/novastoryassets.sc2modbase.sc2maps/maps/campaign/nova/nstory01.sc2map/MapScript.galaxy:830


    ActorSend(ActorFrom("::external.Nova02_020"), "Attach ::external.FunTest {Origin 0} SOpAttachOrigin");
    ActorSend(gv_mP02_020_Screen, libNtve_gf_ActorMsg1("TextureSelectById", ("video_newsreport_smx3_mp02_020")));
    ActorSend(gv_mP02_020_Screen, MakeMsgTextureVideoPlay("video", c_textureSlotComponentDefault, 30, c_textureVideoPlayFlagSynced, 1, "Transmission"));
    SoundChannelDSPInsert(PlayerGroupAll(), c_soundCategoryTV, "Reverb_NovaMP02_GriffinBridgeWS");

mods/novastoryassets.sc2modbase.sc2maps/maps/campaign/nova/nstory01.sc2map/MapScript.galaxy:1148


    ActorSend(ActorFrom("::external.Nova02_040"), "Attach ::external.FunTest {Origin 0} SOpAttachOrigin");
    ActorSend(gv_mP02_040_Screen, libNtve_gf_ActorMsg1("TextureSelectById", ("video_newsreport_smx3_mp02_040")));
    ActorSend(gv_mP02_040_Screen, MakeMsgTextureVideoPlay("video", c_textureSlotComponentDefault, 30, c_textureVideoPlayFlagSynced, 1, "Transmission"));
    SoundChannelDSPInsert(PlayerGroupAll(), c_soundCategoryTV, "Reverb_NovaMP02_GriffinBridgeMS");

mods/novastoryassets.sc2modbase.sc2maps/maps/campaign/nova/nstory01.sc2map/MapScript.galaxy:1371


    ActorSend(ActorFrom("::external.Nova03_040"), "Attach ::external.FunTest {Origin 0} SOpAttachOrigin");
    ActorSend(gv_mP03_040_Screen, libNtve_gf_ActorMsg1("TextureSelectById", ("video_newsreport_smx3_mp03_040")));
    SoundChannelDSPInsert(PlayerGroupAll(), c_soundCategoryTV, "Reverb_NovaMP03_ValeriansChamber");
    ActorSend(gv_mP03_040_Screen, MakeMsgTextureVideoPlay("video", c_textureSlotComponentDefault, 30, c_textureVideoPlayFlagSynced, 1, "Transmission"));

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


    ActorSend(ActorFrom("::external.Nova02_040"), "Attach ::external.FunTest {Origin 0} SOpAttachOrigin");
    ActorSend(gv_mP02_040_Screen, libNtve_gf_ActorMsg1("TextureSelectById", ("video_newsreport_smx3_mp02_040")));
    ActorSend(gv_mP02_040_Screen, MakeMsgTextureVideoPlay("video", c_textureSlotComponentDefault, 30, c_textureVideoPlayFlagSynced, 1, "Transmission"));
    SoundChannelDSPInsert(PlayerGroupAll(), c_soundCategoryTV, "Reverb_NovaMP02_GriffinBridgeMS");

mods/novastoryassets.sc2mod/base.sc2maps/maps/campaign/nova/nstory01.sc2mapMapScript.galaxy:640


    ActorSend(ActorFrom("::external.NovaTV"), "Attach ::external.FunTest {Origin 0} SOpAttachOrigin");
    ActorSend(gv_mP01_030_NewsScreen, libNtve_gf_ActorMsg1("TextureSelectById", ("video_newsreport_smx3_mp01_030")));
    ActorSend(gv_mP01_030_NewsScreen, MakeMsgTextureVideoPlay("video", c_textureSlotComponentDefault, 30, c_textureVideoPlayFlagSynced, 1, "Transmission"));
    return true;

mods/novastoryassets.sc2mod/base.sc2maps/maps/campaign/nova/nstory01.sc2mapMapScript.galaxy:830


    ActorSend(ActorFrom("::external.Nova02_020"), "Attach ::external.FunTest {Origin 0} SOpAttachOrigin");
    ActorSend(gv_mP02_020_Screen, libNtve_gf_ActorMsg1("TextureSelectById", ("video_newsreport_smx3_mp02_020")));
    ActorSend(gv_mP02_020_Screen, MakeMsgTextureVideoPlay("video", c_textureSlotComponentDefault, 30, c_textureVideoPlayFlagSynced, 1, "Transmission"));
    SoundChannelDSPInsert(PlayerGroupAll(), c_soundCategoryTV, "Reverb_NovaMP02_GriffinBridgeWS");

mods/novastoryassets.sc2mod/base.sc2maps/maps/campaign/nova/nstory01.sc2mapMapScript.galaxy:1148


    ActorSend(ActorFrom("::external.Nova02_040"), "Attach ::external.FunTest {Origin 0} SOpAttachOrigin");
    ActorSend(gv_mP02_040_Screen, libNtve_gf_ActorMsg1("TextureSelectById", ("video_newsreport_smx3_mp02_040")));
    ActorSend(gv_mP02_040_Screen, MakeMsgTextureVideoPlay("video", c_textureSlotComponentDefault, 30, c_textureVideoPlayFlagSynced, 1, "Transmission"));
    SoundChannelDSPInsert(PlayerGroupAll(), c_soundCategoryTV, "Reverb_NovaMP02_GriffinBridgeMS");

mods/novastoryassets.sc2mod/base.sc2maps/maps/campaign/nova/nstory01.sc2mapMapScript.galaxy:1371


    ActorSend(ActorFrom("::external.Nova03_040"), "Attach ::external.FunTest {Origin 0} SOpAttachOrigin");
    ActorSend(gv_mP03_040_Screen, libNtve_gf_ActorMsg1("TextureSelectById", ("video_newsreport_smx3_mp03_040")));
    SoundChannelDSPInsert(PlayerGroupAll(), c_soundCategoryTV, "Reverb_NovaMP03_ValeriansChamber");
    ActorSend(gv_mP03_040_Screen, MakeMsgTextureVideoPlay("video", c_textureSlotComponentDefault, 30, c_textureVideoPlayFlagSynced, 1, "Transmission"));

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


    ActorSend(ActorFrom("::external.Nova02_040"), "Attach ::external.FunTest {Origin 0} SOpAttachOrigin");
    ActorSend(gv_mP02_040_Screen, libNtve_gf_ActorMsg1("TextureSelectById", ("video_newsreport_smx3_mp02_040")));
    ActorSend(gv_mP02_040_Screen, MakeMsgTextureVideoPlay("video", c_textureSlotComponentDefault, 30, c_textureVideoPlayFlagSynced, 1, "Transmission"));
    SoundChannelDSPInsert(PlayerGroupAll(), c_soundCategoryTV, "Reverb_NovaMP02_GriffinBridgeMS");

mods/warcoop/warclassic.sc2modbase.sc2data/TriggerLibs/WarClassic.galaxy:268

    ActorCreate(null, "War3_TriggerEffect", (lp_model), null, "null");
    lv_a = libNtve_gf_ActorLastCreated();
    ActorSend(lv_a, libNtve_gf_ActorMsg1("SetPositionH", libNtve_gf_ConvertXYToString(PointGetX(lp_position), PointGetY(lp_position))));
    ActorSend(lv_a, libNtve_gf_SetHeight(PointGetHeight(lp_position)));
    return lv_a;