# Ref Set From Request

Grammar — RefSetFromRequest refName subject effectName requestScope requestActor
FlagsNative | Function

Constructs and returns a RefSetFromRequest actor message based on the parameters. This message uses an actor request to determine what actor should be stored in the reference. The Ref Name parameter is the reference to store the actor in once it is found. Note: Utilizing this function requires a strong knowledge of the actor system.

# Arguments

  • string — Ref Name
  • string — Subject
  • string — Effect Name
  • int — Request Scope
  • int — Request Actor

Returns — string<actormsg>

native string MakeMsgRefSetFromRequest(
	string refName,
	string subject,
	string effectName,
	int requestScope,
	int requestActor,
);

Category: Actor / Message Constructors

# Examples

— None found —