# Actor Msg 2

FlagsFunction | Internal

Constructs and returns an actor message with two parameters. The actor message returned is formed by combining the Msg Name, Param 1, and Param 2 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
  • string — Param 2

Returns — string<actormsg>

string libNtve_gf_ActorMsg2(
	string lp_msgName,
	string lp_param1,
	string lp_param2,
);

Category: Actor / Message Constructors

# Examples

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

    // Automatic Variable Declarations
    // Implementation
    return libNtve_gf_ActorMsg2("AnimClear", lp_animName, FixedToString(lp_blendTime, c_fixedPrecisionAny));
}

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

    // Automatic Variable Declarations
    // Implementation
    return libNtve_gf_ActorMsg2("AnimClearAllBut", lp_animName, FixedToString(lp_blendTime, c_fixedPrecisionAny));
}

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

    // Automatic Variable Declarations
    // Implementation
    return libNtve_gf_ActorMsg2("AnimPlaySequence", lp_animName, lp_sequenceList);
}

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

    // Automatic Variable Declarations
    // Implementation
    return libNtve_gf_ActorMsg2("AnimSetCompletion", lp_animName, FixedToString(lp_percent, c_fixedPrecisionAny));
}

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

    // Automatic Variable Declarations
    // Implementation
    return libNtve_gf_ActorMsg2("AnimSetCompletion", lp_animName, FixedToString(lp_duration, c_fixedPrecisionAny));
}

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

    // Automatic Variable Declarations
    // Implementation
    return libNtve_gf_ActorMsg2("AnimSetTimeScale", lp_animName, FixedToString(lp_scale, c_fixedPrecisionAny));
}

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

    // Automatic Variable Declarations
    // Implementation
    return libNtve_gf_ActorMsg2("AttachSetBearings", lp_attachMethods, lp_bearings);
}

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

    // Automatic Variable Declarations
    // Implementation
    return libNtve_gf_ActorMsg2("AttachSetPosition", lp_attachMethods, lp_position);
}

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

    // Automatic Variable Declarations
    // Implementation
    return libNtve_gf_ActorMsg2("AttachSetRotation", lp_attachMethods, FixedToString(lp_rotation, c_fixedPrecisionAny));
}

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

    // Automatic Variable Declarations
    // Implementation
    return libNtve_gf_ActorMsg2("Create", lp_actor, lp_content);
}

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

    // Automatic Variable Declarations
    // Implementation
    return libNtve_gf_ActorMsg2("AnimClear", lp_animName, FixedToString(lp_blendTime, c_fixedPrecisionAny));
}

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

    // Automatic Variable Declarations
    // Implementation
    return libNtve_gf_ActorMsg2("AnimClearAllBut", lp_animName, FixedToString(lp_blendTime, c_fixedPrecisionAny));
}

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

    // Automatic Variable Declarations
    // Implementation
    return libNtve_gf_ActorMsg2("AnimPlaySequence", lp_animName, lp_sequenceList);
}

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

    // Automatic Variable Declarations
    // Implementation
    return libNtve_gf_ActorMsg2("AnimSetCompletion", lp_animName, FixedToString(lp_percent, c_fixedPrecisionAny));
}

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

    // Automatic Variable Declarations
    // Implementation
    return libNtve_gf_ActorMsg2("AnimSetCompletion", lp_animName, FixedToString(lp_duration, c_fixedPrecisionAny));
}

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

    // Automatic Variable Declarations
    // Implementation
    return libNtve_gf_ActorMsg2("AnimSetTimeScale", lp_animName, FixedToString(lp_scale, c_fixedPrecisionAny));
}

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

    // Automatic Variable Declarations
    // Implementation
    return libNtve_gf_ActorMsg2("AttachSetBearings", lp_attachMethods, lp_bearings);
}

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

    // Automatic Variable Declarations
    // Implementation
    return libNtve_gf_ActorMsg2("AttachSetPosition", lp_attachMethods, lp_position);
}

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

    // Automatic Variable Declarations
    // Implementation
    return libNtve_gf_ActorMsg2("AttachSetRotation", lp_attachMethods, FixedToString(lp_rotation, c_fixedPrecisionAny));
}

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

    // Automatic Variable Declarations
    // Implementation
    return libNtve_gf_ActorMsg2("Create", lp_actor, lp_content);
}