# Actor Msg 4

FlagsFunction | Internal

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

Returns — string<actormsg>

string libNtve_gf_ActorMsg4(
	string lp_msgName,
	string lp_param1,
	string lp_param2,
	string lp_param3,
	string lp_param4,
);

Category: Actor / Message Constructors

# Examples

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

    // Automatic Variable Declarations
    // Implementation
    return libNtve_gf_ActorMsg4("HostSiteOpsSet", lp_hostName, lp_ops, IntToString(lp_holdPosition), IntToString(lp_holdRotation));
}

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

    // Automatic Variable Declarations
    // Implementation
    return libNtve_gf_ActorMsg4("HostSiteOpsSet", lp_hostName, lp_ops, IntToString(lp_holdPosition), IntToString(lp_holdRotation));
}