# Send Actor Message As Text Via Name

Grammar — Send message to the name actor of actor
FlagsNative | Action

Sends an actor message to an actor that is related to another actor. The Actor parameter is used to specify the primary actor, and the Name parameter is used to specify a reference (such as ::Host) that will derive a secondary actor from the primary actor. The message gets sent to the secondary actor. An actor message will perform an action and/or trigger an event on the actor it is sent to.

# Arguments

  • actor — Actor
  • string — Name
  • text — Message

Returns — void

native void ActorSendToAsText(
	actor a,
	string refName,
	text msg,
);

Category: Actor / Send Actor Messages

# Examples

— None found —