Triggers/Actions/Create Actor

From SC2Mapster Wiki
Jump to: navigation, search

Actor-Create Actors

Create Actor

GUI

Actor - Create a name actor in the scope actorScope with content parameters content1 , content2 , content3

Galaxy Code

actor ActorCreate ( actorscope actorScope, gamelink name, string content1, string content2, string content3 )

Description

Creates an actor. The Scope parameter can be null if you do not want to create the actor in an existing scope. The Name parameter is the string ID of the actor you are creating. The Content parameters are optional, and allow you to specify additional properties for the actor being created. Running the "Last Created Actor" function immediately after this action will return the actor created by this action.

Parameters

Return Type: actor